[#GenTxid-swap] = xref:GenTxid.adoc[GenTxid]::swap :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<primitives/transaction_identifier.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<bool _Dummy = true> requires __all<(__dependent_type<is_move_constructible<_Types>, _Dummy>::value && __dependent_type<is_swappable<_Types>, _Dummy>::value)...>::value [[__exclude_from_explicit_instantiation__, __abi_tag__]] constexpr void swap(variant<transaction_identifier<false>, transaction_identifier<true>>& __that) noexcept(/* see-below */); ---- == Exception specification This function is potentially-throwing unless `__all<(is_nothrow_move_constructible_v<_Types> && is_nothrow_swappable_v<_Types>)...>::value`. [.small]#Created with https://www.mrdocs.com[MrDocs]#