to_address
Fully qualified name: carb::cpp::to_address
Defined in carb/cpp/Memory.h
-
template<class T>
constexpr T *carb::cpp::to_address(T *p) noexcept
Obtain the address represented by p without forming a reference to the object pointed to by p. Raw pointer overload: If T
is a function type, the program is ill-formed. Otherwise, returns p unmodified.