Support Class Library
A set of tools providing classes and utility
Movable.h
Go to the documentation of this file.
1 #pragma once
2 
3 //#include <scl/concepts/require.h>
4 #include <scl/macros.h>
8 
9 namespace scl{
10  namespace concepts{
15  template <class T>
16  struct Movable{
17  constexpr operator bool() const{
21  >();
22  }
23  };
24  }
25 }
constexpr bool constexpr_assert()
Global namespace of the SCL.
Definition: alias.hpp:3
Movable concept, a type is movable if it is both move constructible and move assignable.
Definition: Movable.h:16
MoveConstructible concept, a type T is move constructible if meta::is_move_constructible<T>() is true...
MoveAssignable concept, a type T is move assignable if meta::is_move_assignable<T>() is true...