---
name: "std::experimental::_Has_addressof"
section: "3cxx"
platform: "linux"
package: "libstdc++-9-doc"
version: "9.3.0-22"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/std::experimental::_Has_addressof"
---

# std::experimental::\_Has\_addressof(3cxx)

Trait that detects the presence of an overloaded unary operator&.

## NAME

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

## SYNOPSIS

Inherits std::\_\_or\_\<... \>::type.

## 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 (e.g. declval\<const \_Tp&\>().operator&()).

Definition at line 162 of file optional.

## Author

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