diff --git a/ostd/#limits.hh# b/ostd/#limits.hh# new file mode 100644 index 0000000..1122a22 --- /dev/null +++ b/ostd/#limits.hh# @@ -0,0 +1,19 @@ +/* Various type limits. + * + * This file is part of OctaSTD. See COPYING.md for futher information. + */ + +#ifndef OSTD_LIMTIS_HH +#define OSTD_LIMITS_HH + +#include + +namespace ostd { + +template +struct Limits { +}; + +} /* namespace ostd */ + +#endif \ No newline at end of file diff --git a/ostd/type_traits.hh b/ostd/type_traits.hh index a0073ce..c45ef8a 100644 --- a/ostd/type_traits.hh +++ b/ostd/type_traits.hh @@ -59,8 +59,11 @@ struct Constant { constexpr Value operator()() const { return value; } }; -using True = Constant; -using False = Constant; +template +using BoolConstant = Constant; + +using True = BoolConstant; +using False = BoolConstant; template constexpr T Constant::value;