4#ifndef TETL_TYPE_TRAITS_INTEGRAL_CONSTANT_HPP
5#define TETL_TYPE_TRAITS_INTEGRAL_CONSTANT_HPP
9template <
typename Type, Type Val>
11 static constexpr Type
value = Val;
12 using value_type = Type;
20 constexpr auto operator()()
const noexcept -> value_type
26template <
typename Rhs, Rhs R,
typename Lhs, Lhs L>
33template <
typename Rhs, Rhs R,
typename Lhs, Lhs L>
40template <
typename Rhs, Rhs R,
typename Lhs, Lhs L>
Definition adjacent_find.hpp:9
constexpr auto operator==(integral_constant< Rhs, R >, integral_constant< Lhs, L >) -> integral_constant< bool, L==R >
Definition integral_constant.hpp:34
constexpr auto operator!=(integral_constant< Rhs, R >, integral_constant< Lhs, L >) -> integral_constant< bool, L !=R >
Definition integral_constant.hpp:41
constexpr auto operator+(integral_constant< Rhs, R >, integral_constant< Lhs, L >) -> integral_constant< decltype(L+R), L+R >
Definition integral_constant.hpp:27
Definition integral_constant.hpp:10
constexpr operator value_type() const noexcept
Definition integral_constant.hpp:15
constexpr auto operator()() const noexcept -> value_type
Definition integral_constant.hpp:20
static constexpr Type value
Definition integral_constant.hpp:11