mirror of
https://github.com/mpusz/mp-units.git
synced 2026-02-09 00:25:28 +01:00
refactor: most std::remove_const_t removed and some replaced with the GCC-specific workaround
This commit is contained in:
@@ -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