[#absl-is_trivially_relocatable]
= xref:absl.adoc[absl]::is&lowbar;trivially&lowbar;relocatable
:relfileprefix: ../
:mrdocs:

https&colon;&sol;&sol;github&period;com&sol;llvm&sol;llvm&hyphen;project&sol;pull&sol;127636&num;pullrequestreview&hyphen;2637005293 In the current implementation, &lowbar;&lowbar;builtin&lowbar;is&lowbar;cpp&lowbar;trivially&lowbar;relocatable will only return true for types that are trivially relocatable according to the standard&period; Notably, this means that marking a type &lsqb;&lsqb;clang&colon;&colon;trivial&lowbar;abi&rsqb;&rsqb; aka ABSL&lowbar;HAVE&lowbar;ATTRIBUTE&lowbar;TRIVIAL&lowbar;ABI will have no effect on this trait&period;

== Synopsis

Declared in `&lt;absl&sol;meta&sol;type&lowbar;traits&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class T&gt;
struct is&lowbar;trivially&lowbar;relocatable
    : std::bool&lowbar;constant&lt;&lowbar;&lowbar;builtin&lowbar;is&lowbar;cpp&lowbar;trivially&lowbar;relocatable(T)&gt;
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `std::bool&lowbar;constant&lt;&lowbar;&lowbar;builtin&lowbar;is&lowbar;cpp&lowbar;trivially&lowbar;relocatable(T)&gt;`
| 
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
