Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
nothrow_t.hpp
Go to the documentation of this file.
1
// Copyright 2026, Toyota Motor Corporation
2
//
3
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5
#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_NOTHROW_T_HPP_
6
#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_NOTHROW_T_HPP_
7
8
// IWYU pragma: private, include <new>
9
// IWYU pragma: friend "stdlib_detail/.*"
10
11
// parasoft-begin-suppress CERT_CPP-DCL58-a-2 "Part of a standard library implementation"
12
// parasoft-begin-suppress AUTOSAR-A17_6_1-a-2 "Part of a standard library implementation"
13
14
namespace
std
{
15
16
/// @brief Tag type used to disambiguate the overloads of throwing and non-throwing allocation functions
17
class
nothrow_t
{
18
public
:
19
/// @brief Default explicit constructor
20
explicit
nothrow_t
() =
default
;
21
};
22
23
/// @brief A constant of @c std::nothrow_t
24
extern
nothrow_t
const
nothrow
;
25
26
}
// namespace std
27
28
#endif
// INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_NOTHROW_T_HPP_
std::nothrow_t
Tag type used to disambiguate the overloads of throwing and non-throwing allocation functions.
Definition
nothrow_t.hpp:17
std::nothrow_t::nothrow_t
nothrow_t()=default
Default explicit constructor.
std
STL namespace.
std::nothrow
nothrow_t const nothrow
A constant of std::nothrow_t.
stdlib
include
stdlib_detail
nothrow_t.hpp
Generated by
1.13.2