1 #ifndef INCG_PHI_CORE_TYPE_TRAITS_DETAIL_YES_NO_TYPE_HPP 2 #define INCG_PHI_CORE_TYPE_TRAITS_DETAIL_YES_NO_TYPE_HPP 4 #include "phi/phi_config.hpp" 6 #if PHI_HAS_EXTENSION_PRAGMA_ONCE() 10 #include "phi/compiler_support/constexpr.hpp" 11 #include "phi/compiler_support/inline_variables.hpp" 12 #include "phi/compiler_support/warning.hpp" 13 #include "phi/core/size_t.hpp" 15 DETAIL_PHI_BEGIN_NAMESPACE()
17 PHI_GCC_SUPPRESS_WARNING_PUSH()
18 PHI_GCC_SUPPRESS_WARNING("-Wunused-const-variable")
28 PHI_INLINE_VARIABLE PHI_CONSTEXPR_AND_CONST
static phi::size_t sizeof_yes_type =
37 PHI_INLINE_VARIABLE PHI_CONSTEXPR_AND_CONST
static phi::size_t sizeof_no_type =
sizeof(
no_type);
40 PHI_GCC_SUPPRESS_WARNING_POP()
42 DETAIL_PHI_END_NAMESPACE()
44 #endif // INCG_PHI_CORE_TYPE_TRAITS_DETAIL_YES_NO_TYPE_HPP Definition: yes_no_type.hpp:32
Definition: yes_no_type.hpp:23