一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
common.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ein_has_attribute(__x)
 __has_attribute(x)
 
#define ein_has_declspec_attribute(__x)
 portable __has_declspec_attribute(__x)
 
#define ein_const
 [[const]] is not const
 
#define ein_pure
 [[pure]]
 
#define ein_lifetimebound
 [[lifetimebound]]
 
#define ein_noescape
 portable __attribute__((noescape))
 
#define ein_nodiscard   [[nodiscard]]
 C++17 [[nodiscard]].
 
#define ein_inline   inline
 inline [[always_inline]]
 
#define ein_flatten
 portable [[flatten]]
 
#define ein_artificial
 [[artificial]].
 
#define ein_noinline
 [[noinline]]
 
#define ein_optnone
 [[optnone]]
 
#define ein_weak
 [[weak]]
 
#define ein_internal_linkage
 [[internal_linkage]]
 
#define ein_preferred_name(__x)
 portable [[clang::preferred_name(x)]] annotations
 
#define ein_visibility(...)
 [[visibility(x)]]
 
#define ein_exclude_from_explicit_instantiation
 exclude this member from explicit template instantiation.
 
#define ein_hidden   ein_visibility("hidden") ein_exclude_from_explicit_instantiation
 [[visibility("hidden")]] [[exclude_from_explicit_instantiations]]
 
#define ein_constinit
 constinit
 
#define ein_uninitialized
 [[clang::uninitialized]]
 
#define ein_reinitializes
 [[clang::reinitializes]]
 

Detailed Description

SPDX-FileType: Source
SPDX-FileCopyrightText: 2024 Edward Kmett <ekmett@gmail.com>
SPDX-License-Identifier: BSD-2-Clause OR Apache-2.0

Definition in file common.hpp.