std::experimental::_Has_addressof man page

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

Synopsis

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

Detailed Description

template<typename _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 (i.e. declval<_Tp * const&>().operator&()).

Definition at line 162 of file optional.

Author

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

Info

Fri Sep 16 2016 libstdc++