DOKK / manpages / debian 10 / libstdc++-8-doc / std::experimental::_Has_addressof.3cxx.en
std::experimental::_Has_addressof< _Tp >(3cxx) std::experimental::_Has_addressof< _Tp >(3cxx)

std::experimental::_Has_addressof< _Tp > - Trait that detects the presence of an overloaded unary operator&.

Inherits type< _Has_addressof_mem< _Tp >, _Has_addressof_free< _Tp > >.

struct std::experimental::_Has_addressof< _Tp >" Trait that detects the presence of an overloaded unary operator&.

Practically speaking this detects the presence of such an operator when called on a const-qualified lvalue (e.g. declval<const _Tp&>().operator&()).

Definition at line 162 of file optional.

Generated automatically by Doxygen for libstdc++ from the source code.

Sat Apr 6 2019 libstdc++