1 #ifndef INCG_PHI_CORE_TYPE_TRAITS_IS_REFERENCE_HPP 2 #define INCG_PHI_CORE_TYPE_TRAITS_IS_REFERENCE_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/intrinsics/is_reference.hpp" 13 #include "phi/type_traits/integral_constant.hpp" 15 DETAIL_PHI_BEGIN_NAMESPACE()
17 #if PHI_SUPPORTS_IS_REFERENCE() 19 template <
typename TypeT>
23 template <
typename TypeT>
27 # if PHI_HAS_FEATURE_VARIABLE_TEMPLATE() 29 template <
typename TypeT>
30 PHI_INLINE_VARIABLE PHI_CONSTEXPR
bool is_reference_v = PHI_IS_REFERENCE(TypeT);
32 template <
typename TypeT>
33 PHI_INLINE_VARIABLE PHI_CONSTEXPR
bool is_not_reference_v = !PHI_IS_REFERENCE(TypeT);
39 template <
typename TypeT>
44 template <
typename TypeT>
49 template <
typename TypeT>
53 template <
typename TypeT>
57 # if PHI_HAS_FEATURE_VARIABLE_TEMPLATE() 59 template <
typename TypeT>
62 template <
typename TypeT>
69 DETAIL_PHI_END_NAMESPACE()
71 #endif // INCG_PHI_CORE_TYPE_TRAITS_IS_REFERENCE_HPP Definition: integral_constant.hpp:19
Definition: is_reference.hpp:54
Definition: is_reference.hpp:40