OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:has_trivial_copy
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/cld/base/
type_traits.h
17
//
has_trivial_copy
102
// We can't get
has_trivial_copy
right without compiler help, so fail
107
template <class T> struct
has_trivial_copy
: is_pod<T> { };
struct in namespace:base
108
template <class T, class U> struct
has_trivial_copy
<std::pair<T, U> >
struct in namespace:base
110
(
has_trivial_copy
<T>::value &&
111
has_trivial_copy
<U>::value)> { };
112
template <class A, int N> struct
has_trivial_copy
<A[N]>
struct in namespace:base
113
:
has_trivial_copy
<A> { };
114
template <class T> struct
has_trivial_copy
<const T> :
has_trivial_copy
<T> { }
struct in namespace:base
[
all
...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
type_traits.h
45
//
has_trivial_copy
80
template <class T> struct
has_trivial_copy
;
231
// We can't get
has_trivial_copy
right without compiler help, so fail
236
template <class T> struct
has_trivial_copy
: is_pod<T> { };
struct in namespace:google::protobuf::internal
237
template <class T, class U> struct
has_trivial_copy
<std::pair<T, U> >
struct in namespace:google::protobuf::internal
239
(
has_trivial_copy
<T>::value &&
240
has_trivial_copy
<U>::value)> { };
241
template <class A, int N> struct
has_trivial_copy
<A[N]>
struct in namespace:google::protobuf::internal
242
:
has_trivial_copy
<A> { };
243
template <class T> struct
has_trivial_copy
<const T> : has_trivial_copy<T> { }
struct in namespace:google::protobuf::internal
[
all
...]
type_traits_unittest.cc
73
// by specializing
has_trivial_copy
.
84
template<> struct
has_trivial_copy
<C> : true_type { };
struct in namespace:google::protobuf::internal
412
EXPECT_TRUE(
has_trivial_copy
<bool>::value);
413
EXPECT_TRUE(
has_trivial_copy
<char>::value);
414
EXPECT_TRUE(
has_trivial_copy
<unsigned char>::value);
415
EXPECT_TRUE(
has_trivial_copy
<signed char>::value);
416
EXPECT_TRUE(
has_trivial_copy
<wchar_t>::value);
417
EXPECT_TRUE(
has_trivial_copy
<int>::value);
418
EXPECT_TRUE(
has_trivial_copy
<unsigned int>::value);
419
EXPECT_TRUE(
has_trivial_copy
<short>::value)
[
all
...]
Completed in 1082 milliseconds