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

Checks if a type has move assignment and constructor. More...

Inherits gears::concepts::And< Args >.

Detailed Description

template<typename T>
struct gears::concepts::Movable< T >

A Unary concept to check if a type has a move assignment and a move constructor.

This means that the following code must be valid:

// other_var is of type T
T var(std::move(other_var)); // move constructor
T new_var = std::move(var); // move assignment
Template Parameters
TType to check

Definition at line 165 of file basic.hpp.