Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cpp/Platform.Ranges/Range.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
{
#define LIMIT_AS_RANGE(type) std::numeric_limits<type>::lowest(), std::numeric_limits<type>::max()

constexpr auto SByte = Range(LIMIT_AS_RANGE(std::int8_t));
constexpr auto Int8 = Range(LIMIT_AS_RANGE(std::int8_t));

constexpr auto Int16 = Range(LIMIT_AS_RANGE(std::int16_t));

constexpr auto Int32 = Range(LIMIT_AS_RANGE(std::int32_t));

constexpr auto Int64 = Range(LIMIT_AS_RANGE(std::int64_t));

constexpr auto Byte = Range(LIMIT_AS_RANGE(std::uint8_t));
constexpr auto UInt8 = Range(LIMIT_AS_RANGE(std::uint8_t));

constexpr auto UInt16 = Range(LIMIT_AS_RANGE(std::uint16_t));

constexpr auto UInt32 = Range(LIMIT_AS_RANGE(std::uint32_t));

constexpr auto UInt64 = Range(LIMIT_AS_RANGE(std::uint64_t));

constexpr auto Single = Range(LIMIT_AS_RANGE(std::float_t));
constexpr auto Float = Range(LIMIT_AS_RANGE(std::float_t));

constexpr auto Double = Range(LIMIT_AS_RANGE(std::double_t));

Expand Down
Loading