---
name: "std::__is_location_invariant"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::__is_location_invariant"
---

# std::\_\_is\_location\_invariant(3)

## NAME

std::\_\_is\_location\_invariant\< \_Tp \>

## SYNOPSIS

\#include \<functional\>

## Detailed Description

### template\<typename \_Tp\>

struct std::\_\_is\_location\_invariant\< \_Tp \>"Trait identifying "location-invariant" types, meaning that the address of the object (or any of its members) will not escape. Trivially copyable types are location-invariant and users can specialize this trait for other types.

## Author

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