---
name: "std::__is_location_invariant"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::__is_location_invariant/3cxx"
---

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

## NAME

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

## SYNOPSIS

`#include <functional>`

Inherits is\_trivially\_copyable::type.

## 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.
