1#ifndef ADIAR_TYPE_TRAITS_H
2#define ADIAR_TYPE_TRAITS_H
8 template <
bool Condition,
typename Type =
void>
9 using enable_if =
typename std::enable_if<Condition, Type>::type;
11 template <
typename A,
typename B>
12 inline constexpr bool is_convertible = std::is_convertible<A, B>::value;
14 template <
typename A,
typename B>
15 inline constexpr bool is_same = std::is_same<A, B>::value;
17 template <
typename A,
typename B>
21 inline constexpr bool is_const = std::is_const<std::remove_reference_t<A>>
::value;
27 inline constexpr bool is_integral = std::is_integral<A>::value;
consumer< ValueType > make_consumer(OutputIt &iter)
Wrap an iterator into a consumer function.
Definition functional.h:67
Core types.
Definition adiar.h:40