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

  /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/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/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 89 milliseconds