All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
gears::concepts::RValueSwappable< T, U > Struct Template Reference

Checks if a type is r-value swappable. More...

Inherits TraitOf< detail::is_rvalue_swappable, T, U >.

Detailed Description

template<typename T, typename U = T>
struct gears::concepts::RValueSwappable< T, U >

A Binary concept that checks if a type is r-value swappable.

To be r-value swappable then std::swap(x, y) must be valid where x and y are r-values.

Template Parameters
TLeft type to check
URight type to check

Definition at line 309 of file basic.hpp.