prefix definition simplified
This commit is contained in:
1 parent
518c52cda1
commit
0d319675f8
1 file changed
+1
-1
@@ -70,7 +70,7 @@ struct prefix_base : downcast_base<prefix_base<PT, R>> {
|
||||
*/
|
||||
template<typename Child, PrefixType PT, basic_fixed_string Symbol, Ratio R>
|
||||
requires (!std::same_as<PT, no_prefix>)
|
||||
struct prefix : downcast_child<Child, detail::prefix_base<PT, ratio<R::num, R::den, R::exp>>> {
|
||||
struct prefix : downcast_child<Child, detail::prefix_base<PT, R>> {
|
||||
static constexpr auto symbol = Symbol;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user