Support Class Library
A set of tools providing classes and utility
Regular.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 Regular{
17  constexpr operator bool() const{
21  >();
22  }
23  };
24  }
25 }
constexpr bool constexpr_assert()
Global namespace of the SCL.
Definition: alias.hpp:3
EqualityComparable concept, a type T is equality comparable if it defines an operator== with itself...
Regular concept, a type is Regular if it is SemiRegular and EqualityCOmparable.
Definition: Regular.h:16
SemiRegular concept, a type is semi regular if it is Copyable and DefaultConstructible.
Definition: SemiRegular.h:16