mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 08:46:45 +08:00
add LIBIMP_INLINE_CONSTEXPR
This commit is contained in:
parent
65cb048f59
commit
25ea4e016c
@ -106,6 +106,14 @@
|
||||
# error "This C++ version is unsupported."
|
||||
#endif
|
||||
|
||||
/// \brief Feature cross-platform adaptation.
|
||||
|
||||
#if defined(LIBIMP_CPP_17)
|
||||
# define LIBIMP_INLINE_CONSTEXPR inline constexpr
|
||||
#else
|
||||
# define LIBIMP_INLINE_CONSTEXPR constexpr
|
||||
#endif
|
||||
|
||||
/// \brief C++ attributes.
|
||||
/// \see https://en.cppreference.com/w/cpp/language/attributes
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user