HomeSort by relevance Sort by last modified time
    Searched defs:implicit_cast (Results 1 - 9 of 9) sorted by null

  /art/runtime/base/
casts.h 26 // Use implicit_cast as a safe version of static_cast or const_cast
30 // When you use implicit_cast, the compiler checks that the cast is safe.
36 // implicit_cast is the same as for static_cast etc.:
38 // implicit_cast<ToType>(expr)
40 // implicit_cast would have been part of the C++ standard library,
44 inline To implicit_cast(From const &f) { function in namespace:art
49 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
73 implicit_cast<From*, To>(0);
  /external/ceres-solver/internal/ceres/
casts.h 45 // Use implicit_cast as a safe version of static_cast or const_cast
51 // In general, implicit_cast can be used to convert this code
55 // DoSomething(implicit_cast<To>(from));
60 inline To implicit_cast(typename identity_<To>::type to) { function in namespace:ceres
64 // This version of implicit_cast is used when two template arguments
67 inline To implicit_cast(typename identity_<From>::type const &f) { function in namespace:ceres
72 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
98 implicit_cast<From*, To>(NULL);
  /external/chromium_org/third_party/cld/base/
casts.h 14 // Use implicit_cast as a safe version of static_cast or const_cast
18 // When you use implicit_cast, the compiler checks that the cast is safe.
24 // implicit_cast is the same as for static_cast etc.:
26 // implicit_cast<ToType>(expr)
28 // implicit_cast would have been part of the C++ standard library,
32 inline To implicit_cast(From const &f) { function
38 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
62 implicit_cast<From*, To>(0);
83 implicit_cast<From*, ToAsPointer>(0);
basictypes.h 166 // Use implicit_cast as a safe version of static_cast or const_cast
170 // When you use implicit_cast, the compiler checks that the cast is safe.
176 // implicit_cast is the same as for static_cast etc.:
178 // implicit_cast<ToType>(expr)
180 // implicit_cast would have been part of the C++ standard library,
184 inline To implicit_cast(From const &f) { function
  /external/sfntly/cpp/src/sfntly/port/
type.h 69 inline To implicit_cast(From const &f) { function
84 implicit_cast<From*, To>(0);
  /external/chromium/base/
basictypes.h 174 // Use implicit_cast as a safe version of static_cast or const_cast
178 // When you use implicit_cast, the compiler checks that the cast is safe.
184 // implicit_cast is the same as for static_cast etc.:
186 // implicit_cast<ToType>(expr)
188 // implicit_cast would have been part of the C++ standard library,
192 inline To implicit_cast(From const &f) { function
  /external/chromium_org/base/
basictypes.h 181 // Use implicit_cast as a safe version of static_cast or const_cast
185 // When you use implicit_cast, the compiler checks that the cast is safe.
191 // implicit_cast is the same as for static_cast etc.:
193 // implicit_cast<ToType>(expr)
195 // implicit_cast would have been part of the C++ standard library,
199 inline To implicit_cast(From const &f) { function
  /external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
common.h 303 // Use implicit_cast as a safe version of static_cast or const_cast
307 // When you use implicit_cast, the compiler checks that the cast is safe.
313 // implicit_cast is the same as for static_cast etc.:
315 // implicit_cast<ToType>(expr)
317 // implicit_cast would have been part of the C++ standard library,
321 inline To implicit_cast(From const &f) { function in namespace:google::protobuf::internal
326 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
350 implicit_cast<From*, To>(0);
369 using internal::implicit_cast;
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
common.h 263 // Use implicit_cast as a safe version of static_cast or const_cast
267 // When you use implicit_cast, the compiler checks that the cast is safe.
273 // implicit_cast is the same as for static_cast etc.:
275 // implicit_cast<ToType>(expr)
277 // implicit_cast would have been part of the C++ standard library,
281 inline To implicit_cast(From const &f) { function in namespace:google::protobuf::internal
286 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
310 implicit_cast<From*, To>(0);
323 using internal::implicit_cast;
    [all...]

Completed in 267 milliseconds