QuickCppLib 0.10
Eliminate all the tedious hassle when making state-of-the-art C++ 14 - 23 libraries!
Loading...
Searching...
No Matches
std::experimental::detail_ Namespace Reference

Namespaces

namespace  swap_ns
 

Classes

struct  has_overloaded_addressof
 

Functions

template<typename T , TR2_OPTIONAL_REQUIRES(!has_overloaded_addressof< T >) >
constexpr T * static_addressof (T &ref)
 
template<typename T , TR2_OPTIONAL_REQUIRES(has_overloaded_addressof< T >) >
T * static_addressof (T &ref)
 
template<class U >
constexprconvert (U v)
 

Function Documentation

◆ static_addressof() [1/2]

constexpr T * std::experimental::detail_::static_addressof ( T &  ref)
constexpr
224{
225 return &ref;
226}

◆ static_addressof() [2/2]

T * std::experimental::detail_::static_addressof ( T &  ref)
230{
231 return std::addressof(ref);
232}

◆ convert()

template<class U >
constexpr U std::experimental::detail_::convert ( v)
constexpr
237{ return v; }