Lines Matching +full:implicit +full:- +full:casts
11 [compatibility-mode 1.5]
15 [copyright 2001 Beman Dawes, 2014-2020 Antony Polukhin]
21 [source-mode c++]
30 otherwise messy conversions. It includes cast-style function templates designed
31 to complement the C++ Standard's built-in casts.
44 …to perform implicit casts only (no down-cast, no void*->T*, no U->T if T has only explicit constru…
46 …t<>`] general literal text conversions, such as an `int` represented as a `string`, or vice-versa.
50 [section Polymorphic casts]
57 Such casts can be done with old-style casts, but this approach is
58 never to be recommended. Old-style casts are sorely lacking in type
65 The C++ built-in `static_cast` can be used for efficiently
69 the efficiency of `static_cast` for non-debug compilations, but for
81 ensures that not only is a non-zero pointer returned, but also
108 The C++ built-in `dynamic_cast` can be used for downcasts and
121 The C++ built-in `dynamic_cast` must be used to cast references rather than pointers.
129 While `polymorphic_downcast` and `polymorphic_cast` work with built-in pointer types only,
144 This includes C++ built-in pointers, `std::shared_ptr`,