HomeSort by relevance Sort by last modified time
    Searched refs:is_enum (Results 1 - 25 of 43) sorted by null

1 2

  /external/clang/test/Lexer/
has_feature_type_traits.cpp 73 #if __has_feature(is_enum)
74 int is_enum();
76 // CHECK: int is_enum();
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/type_traits/
is_enum.hpp 160 BOOST_TT_AUX_BOOL_TRAIT_IMPL_SPEC1(is_enum,void,false)
162 BOOST_TT_AUX_BOOL_TRAIT_IMPL_SPEC1(is_enum,void const,false)
163 BOOST_TT_AUX_BOOL_TRAIT_IMPL_SPEC1(is_enum,void volatile,false)
164 BOOST_TT_AUX_BOOL_TRAIT_IMPL_SPEC1(is_enum,void const volatile,false)
169 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_enum,T,::boost::detail::is_enum_impl<T>::value)
174 // implementation of is_enum:
175 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_enum,T,false)
181 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_enum,T,BOOST_IS_ENUM(T))
is_scalar.hpp 13 #include <boost/type_traits/is_enum.hpp>
32 ::boost::is_enum<T>::value,
is_signed.hpp 15 #include <boost/type_traits/is_enum.hpp>
75 ::boost::is_enum<T>::value>::value
is_unsigned.hpp 14 #include <boost/type_traits/is_enum.hpp>
74 ::boost::is_enum<T>::value>::value
  /external/protobuf/src/google/protobuf/stubs/
type_traits.h 41 // is_enum
74 // is_enum uses is_convertible, which is not available on MSVC.
75 template <class T> struct is_enum;
179 template <class T> struct is_enum struct in namespace:google::protobuf::internal
188 template <class T> struct is_enum<const T> : is_enum<T> { }; struct in namespace:google::protobuf::internal
189 template <class T> struct is_enum<volatile T> : is_enum<T> { }; struct in namespace:google::protobuf::internal
190 template <class T> struct is_enum<const volatile T> : is_enum<T> { } struct in namespace:google::protobuf::internal
    [all...]
type_traits_unittest.cc 258 // is_enum isn't supported on MSVC or gcc 3.x
260 // Verify that is_enum is true for enum types.
261 EXPECT_TRUE(is_enum<G>::value);
262 EXPECT_TRUE(is_enum<const G>::value);
263 EXPECT_TRUE(is_enum<volatile G>::value);
264 EXPECT_TRUE(is_enum<const volatile G>::value);
266 // Verify that is_enum is false for a few non-enum types.
267 EXPECT_FALSE(is_enum<void>::value);
268 EXPECT_FALSE(is_enum<G&>::value);
269 EXPECT_FALSE(is_enum<G[1]>::value)
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
lvalue_ref.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
rvalue_ref.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
array.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
class.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
enum.pass.cpp 31 static_assert( std::is_enum<T>::value, "");
floating_point.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
function.pass.cpp 42 static_assert(!std::is_enum<T>::value, "");
integral.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
member_function_pointer_no_variadics.pass.cpp 32 static_assert(!std::is_enum<T>::value, "");
member_object_pointer.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
nullptr.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
pointer.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
union.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
void.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.cat/
lvalue_ref.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
rvalue_ref.pass.cpp 31 static_assert(!std::is_enum<T>::value, "");
  /external/clang/test/SemaCXX/
alias-template.cpp 152 template<typename T> struct is_enum { static constexpr bool value = __is_enum(T); };
157 template<typename T> EnableIf<is_enum<T>> f();
158 template<typename T> DisableIf<is_enum<T>> f();
167 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}}
168 template<typename T> struct fail2 : DisableIf<is_enum<T>> {}; // expected-note {{here}}
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/
call_traits.hpp 27 #include <boost/type_traits/is_enum.hpp>
90 ::boost::is_enum<T>::value

Completed in 607 milliseconds

1 2