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

1 2 3 4 5

  /external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
is_enum.pass.cpp 12 // is_enum
21 static_assert( std::is_enum<T>::value, "");
22 static_assert( std::is_enum<const T>::value, "");
23 static_assert( std::is_enum<volatile T>::value, "");
24 static_assert( std::is_enum<const volatile T>::value, "");
36 static_assert(!std::is_enum<T>::value, "");
37 static_assert(!std::is_enum<const T>::value, "");
38 static_assert(!std::is_enum<volatile T>::value, "");
39 static_assert(!std::is_enum<const volatile T>::value, "");
enum.pass.cpp 32 static_assert( std::is_enum<T>::value, "");
55 static_assert(!std::is_enum<incomplete_type>::value, "");
array.pass.cpp 32 static_assert(!std::is_enum<T>::value, "");
class.pass.cpp 32 static_assert(!std::is_enum<T>::value, "");
floating_point.pass.cpp 32 static_assert(!std::is_enum<T>::value, "");
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.unary/meta.unary.cat/
is_enum.pass.cpp 12 // is_enum
21 static_assert( std::is_enum<T>::value, "");
22 static_assert( std::is_enum<const T>::value, "");
23 static_assert( std::is_enum<volatile T>::value, "");
24 static_assert( std::is_enum<const volatile T>::value, "");
36 static_assert(!std::is_enum<T>::value, "");
37 static_assert(!std::is_enum<const T>::value, "");
38 static_assert(!std::is_enum<volatile T>::value, "");
39 static_assert(!std::is_enum<const volatile T>::value, "");
enum.pass.cpp 32 static_assert( std::is_enum<T>::value, "");
55 static_assert(!std::is_enum<incomplete_type>::value, "");
  /external/clang/test/Lexer/
has_feature_type_traits.cpp 73 #if __has_feature(is_enum)
74 int is_enum();
76 // CHECK: int is_enum();
  /external/libcxx/test/libcxx/utilities/memory/util.dynamic.safety/
get_pointer_safety_new_abi.pass.cpp 25 static_assert(std::is_enum<std::pointer_safety>::value, "");
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/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...]
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/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...]
  /prebuilts/misc/windows/protobuf2.5/include/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...]
  /prebuilts/tools/linux-x86_64/protoc/include/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...]
  /external/protobuf/src/google/protobuf/stubs/
type_traits_unittest.cc 261 // is_enum isn't supported on MSVC or gcc 3.x
263 // Verify that is_enum is true for enum types.
264 EXPECT_TRUE(is_enum<G>::value);
265 EXPECT_TRUE(is_enum<const G>::value);
266 EXPECT_TRUE(is_enum<volatile G>::value);
267 EXPECT_TRUE(is_enum<const volatile G>::value);
269 // Verify that is_enum is false for a few non-enum types.
270 EXPECT_FALSE(is_enum<void>::value);
271 EXPECT_FALSE(is_enum<G&>::value);
272 EXPECT_FALSE(is_enum<G[1]>::value)
    [all...]
type_traits.h 42 // is_enum
94 // is_enum uses is_convertible, which is not available on MSVC.
95 template <class T> struct is_enum;
206 template <class T> struct is_enum struct in namespace:google::protobuf::internal
215 template <class T> struct is_enum<const T> : is_enum<T> { }; struct in namespace:google::protobuf::internal
216 template <class T> struct is_enum<volatile T> : is_enum<T> { }; struct in namespace:google::protobuf::internal
217 template <class T> struct is_enum<const volatile T> : is_enum<T> { } struct in namespace:google::protobuf::internal
    [all...]
  /frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
TypeTraits.h 35 : std::integral_constant<bool, std::is_integral<T>::value || std::is_enum<T>::value> { };
47 bool=std::is_enum<T>::value,
50 static_assert(!std::is_enum<T>::value, "T should not be enum here");
58 static_assert(std::is_enum<T>::value, "T should be enum here");
66 static_assert(!std::is_enum<T>::value, "T should not be enum here");
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
type_traits.h 42 // is_enum
94 // is_enum uses is_convertible, which is not available on MSVC.
95 template <class T> struct is_enum;
206 template <class T> struct is_enum struct in namespace:google::protobuf::internal
215 template <class T> struct is_enum<const T> : is_enum<T> { }; struct in namespace:google::protobuf::internal
216 template <class T> struct is_enum<volatile T> : is_enum<T> { }; struct in namespace:google::protobuf::internal
217 template <class T> struct is_enum<const volatile T> : is_enum<T> { } struct in namespace:google::protobuf::internal
    [all...]
  /external/libcxx/test/std/experimental/filesystem/fs.enum/
enum.directory_options.pass.cpp 30 static_assert(std::is_enum<E>::value, "");
enum.file_type.pass.cpp 28 static_assert(std::is_enum<E>::value, "");
enum.copy_options.pass.cpp 29 static_assert(std::is_enum<E>::value, "");
enum.perms.pass.cpp 30 static_assert(std::is_enum<E>::value, "");
  /external/libcxx/test/std/language.support/support.dynamic/
align_val_t.pass.cpp 20 static_assert(std::is_enum<std::align_val_t>::value, "");
  /prebuilts/ndk/r11/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 150 template<typename T> struct is_enum { static constexpr bool value = __is_enum(T); };
155 template<typename T> EnableIf<is_enum<T>> f();
156 template<typename T> DisableIf<is_enum<T>> f();
165 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}}
166 template<typename T> struct fail2 : DisableIf<is_enum<T>> {}; // expected-note {{here}}

Completed in 2180 milliseconds

1 2 3 4 5