Searched defs:implicit_cast (Results 1 - 9 of 9) sorted by relevance

/external/ceres-solver/internal/ceres/
H A Dcasts.h45 // 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/
H A Dcasts.h14 // 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);
H A Dbasictypes.h166 // 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/chromium_org/base/
H A Dmacros.h118 // Use implicit_cast as a safe version of static_cast or const_cast
122 // When you use implicit_cast, the compiler checks that the cast is safe.
128 // implicit_cast is the same as for static_cast etc.:
130 // implicit_cast<ToType>(expr)
132 // implicit_cast would have been part of the C++ standard library,
136 inline To implicit_cast(From const &f) { function
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
H A Dtype.h69 inline To implicit_cast(From const &f) { function
84 implicit_cast<From*, To>(0);
/external/sfntly/cpp/src/sfntly/port/
H A Dtype.h69 inline To implicit_cast(From const &f) { function
84 implicit_cast<From*, To>(0);
/external/lldb/source/Expression/
H A DASTResultSynthesizer.cpp263 ImplicitCastExpr *implicit_cast = dyn_cast<ImplicitCastExpr>(last_expr); local
265 if (!implicit_cast)
268 if (implicit_cast->getCastKind() != CK_LValueToRValue)
271 last_expr = implicit_cast->getSubExpr();
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon.h308 // Use implicit_cast as a safe version of static_cast or const_cast
312 // When you use implicit_cast, the compiler checks that the cast is safe.
318 // implicit_cast is the same as for static_cast etc.:
320 // implicit_cast<ToType>(expr)
322 // implicit_cast would have been part of the C++ standard library,
326 inline To implicit_cast(From const &f) { function in namespace:google::protobuf::internal
331 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
355 implicit_cast<From*, To>(0);
368 using internal::implicit_cast;
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.h263 // 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;

Completed in 629 milliseconds