Support Class Library
A set of tools providing classes and utility
MoveConstructible.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <scl/macros.h>
5 //#include <scl/concepts/require.h>
7 
8 namespace scl{
9  namespace concepts{
14  template <class T>
16  constexpr operator bool() const{
17  using namespace scl::tools;
19  static_assert(meta::is_move_constructible<T>(), "MoveConstructible<T>: T is not move constructible");
20  return true;
21  }
22  };
23  }
24 }
Global namespace of the SCL.
Definition: alias.hpp:3
Destructible concept, a type T is destructible if it defines a destructor that won&#39;t throw...
Definition: Destructible.h:12
General purpose tooling.
Definition: iostream.hpp:4
MoveConstructible concept, a type T is move constructible if meta::is_move_constructible<T>() is true...
#define static_require(cpt)
Definition: macros.h:6