tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
addressof.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename T>
requires (is_object_v<T>)
constexpr auto addressof (T &arg) noexcept -> T *
 Obtains the actual address of the object or function arg, even in presence of overloaded operator&.
 
template<typename T>
requires (not is_object_v<T>)
constexpr auto addressof (T &arg) noexcept -> T *
 Obtains the actual address of the object or function arg, even in presence of overloaded operator&.
 
template<typename T>
auto addressof (T const &&)=delete