4#ifndef TETL_TYPE_TRAITS_INTEGRAL_CONSTANT_HPP
5#define TETL_TYPE_TRAITS_INTEGRAL_CONSTANT_HPP
10template <
typename Type, Type Val>
12 static constexpr Type
value = Val;
13 using value_type = Type;
21 constexpr auto operator()()
const noexcept -> value_type
29template <
typename Rhs, Rhs R,
typename Lhs, Lhs L>
38template <
typename Rhs, Rhs R,
typename Lhs, Lhs L>
47template <
typename Rhs, Rhs R,
typename Lhs, Lhs L>
constexpr auto operator==(integral_constant< Rhs, R >, integral_constant< Lhs, L >) -> integral_constant< bool, L==R >
Definition integral_constant.hpp:39
constexpr auto operator!=(integral_constant< Rhs, R >, integral_constant< Lhs, L >) -> integral_constant< bool, L !=R >
Definition integral_constant.hpp:48
constexpr auto operator+(integral_constant< Rhs, R >, integral_constant< Lhs, L >) -> integral_constant< decltype(L+R), L+R >
Definition integral_constant.hpp:30
Definition adjacent_find.hpp:9
Definition integral_constant.hpp:11
constexpr operator value_type() const noexcept
Definition integral_constant.hpp:16
constexpr auto operator()() const noexcept -> value_type
Definition integral_constant.hpp:21
static constexpr Type value
Definition integral_constant.hpp:12