Use custom versions of concepts for macos support

This commit is contained in:
WerWolv 2021-01-07 20:06:28 +01:00
parent f65c792191
commit 7e4babaca8
1 changed files with 4 additions and 4 deletions

View File

@ -142,10 +142,10 @@ namespace hex::lang {
}
#define FLOAT_BIT_OPERATION(name) \
auto name(std::floating_point auto left, auto right) { throw std::runtime_error(""); return 0; } \
auto name(auto left, std::floating_point auto right) { throw std::runtime_error(""); return 0; } \
auto name(std::floating_point auto left, std::floating_point auto right) { throw std::runtime_error(""); return 0; } \
auto name(std::integral auto left, std::integral auto right)
auto name(hex::floating_point auto left, auto right) { throw std::runtime_error(""); return 0; } \
auto name(auto left, hex::floating_point auto right) { throw std::runtime_error(""); return 0; } \
auto name(hex::floating_point auto left, hex::floating_point auto right) { throw std::runtime_error(""); return 0; } \
auto name(hex::integral auto left, hex::integral auto right)
namespace {