refactor: most std::remove_const_t removed and some replaced with the GCC-specific workaround
This commit is contained in:
1 parent
ec287664ee
commit
1ea2df9209
22 files changed
+166
-164
No files matched your search
@@ -99,7 +99,7 @@ static_assert(is_of_type<kind_of<length>[metre], metre_>);
|
||||
|
||||
static_assert(
|
||||
is_of_type<(length / time)[metre / second],
|
||||
reference<std::remove_const_t<decltype(length / time)>, std::remove_const_t<decltype(metre / second)>>>);
|
||||
reference<decltype(length / time), decltype(metre / second)>>);
|
||||
static_assert(is_of_type<(kind_of<length> / kind_of<time>)[metre / second], derived_unit<metre_, per<second_>>>);
|
||||
|
||||
// Unit as a reference
|
||||
|
||||
Reference in new issue
Block a user