VCCC  2024.05
VisualCamp Common C++ library
to_address.hpp File Reference
#include <memory>
#include <type_traits>
#include "vccc/__memory/pointer_traits.hpp"
#include "vccc/__type_traits/has_operator_arrow.hpp"
#include "vccc/__type_traits/void_t.hpp"

Go to the source code of this file.

Namespaces

 vccc
 

Functions

template<class T >
constexpr T * to_address (T *p) noexcept
 
template<class T >
constexpr auto to_address (const T &p) noexcept