numem.casting

Numem casting helpers

Members

Functions

const_cast
T const_cast(U from)

Allows casting between qualified versions of the input type. The unqualified version of the types need to be implicitly convertible in at least one direction.

dynamic_cast
T dynamic_cast(U from)

Safely casts between T and U.

reinterpret_cast
T reinterpret_cast(U from)

Allows casting one type to another given that the types have the same size, reinterpreting the data.

Meta

Authors

Luna Nielsen