Lines Matching +full:implicit +full:- +full:casts
8 // https://www.apache.org/licenses/LICENSE-2.0
16 // -----------------------------------------------------------------------------
17 // File: casts.h
18 // -----------------------------------------------------------------------------
21 // the standard casts provided in the C++ standard. As with all cast operations,
54 // Performs an implicit conversion between types following the language
55 // rules for implicit conversion; if an implicit conversion is otherwise
57 // implicit conversion.
61 // // If the context allows implicit conversion:
71 // indicate a specific implicit conversion is being undertaken.
85 // Finally, an `implicit_cast()` can be used to perform implicit conversions
100 // Such implicit cast chaining may be useful within template logic.
110 // and both types must be trivially copyable. As with most casts, use with
118 // * Casting non-pointer types to pointer types (casting the other way is
119 // allowed by `reinterpret_cast()` but round-trips cannot occur the other
128 // Casting non-pointer types to pointer types and then dereferencing them
137 // The address-casting method produces undefined behavior according to the ISO
144 // issue by implementing its casts using `memcpy()`, which avoids introducing
150 // default-constructible.