ΒΆtemplate <class Ptr>
auto to_address(const Ptr& P)
template <class Ptr>
auto to_address(const Ptr& P)
Description
Returns a raw pointer that represents the same address as the argument. This implementation can be removed once we move to C++20 where it's defined as std::to_address(). The std::pointer_traits < >::to_address(p) variations of these overloads has not been implemented.
Declared at: llvm/include/llvm/ADT/STLExtras.h:2205
Templates
- Ptr
Parameters
- const Ptr& P