Support Class Library
A set of tools providing classes and utility
SignedIntegral.h
Go to the documentation of this file.
1 #pragma once
2 
3 //#include <scl/concepts/require.h>
4 #include <scl/macros.h>
7 #include <scl/concepts/Signed.h>
8 
9 namespace scl{
10  namespace concepts{
15  template <class T>
17  constexpr operator bool() const{
18  return META::constexpr_assert<Integral<T>{} && Signed<T>{}>();
19  }
20  };
21  }
22 }
Global namespace of the SCL.
Definition: alias.hpp:3
Signed concept, a type T is signed if meta::is_signed<T>() is true.
Definition: Signed.h:12
SignedIntegral concept, a type is a signed integral if it is both Integral and Signed.