This documentation is automatically generated by competitive-verifier/competitive-verifier
#include "tools/integral.hpp"
template <typename T>
concept integral = tools::is_integral_v<T>;
It is a concept that represents integral types.
It also supports tools::int128_t
and tools::uint128_t
.
#ifndef TOOLS_INTEGRAL_HPP
#define TOOLS_INTEGRAL_HPP
#include "tools/is_integral.hpp"
namespace tools {
template <typename T>
concept integral = ::tools::is_integral_v<T>;
}
#endif
#line 1 "tools/integral.hpp"
#line 1 "tools/is_integral.hpp"
#include <type_traits>
namespace tools {
template <typename T>
struct is_integral : ::std::is_integral<T> {};
template <typename T>
inline constexpr bool is_integral_v = ::tools::is_integral<T>::value;
}
#line 5 "tools/integral.hpp"
namespace tools {
template <typename T>
concept integral = ::tools::is_integral_v<T>;
}