build: CTAD for quantity is not supported by clang
This commit is contained in:
1 parent
6eae368ad4
commit
240ec3a460
2 files changed
+4
No files matched your search
@@ -383,8 +383,10 @@ public:
|
||||
};
|
||||
|
||||
// CTAD
|
||||
#if !UNITS_COMP_CLANG || UNITS_COMP_CLANG > 13
|
||||
template<typename D, typename U, typename Rep>
|
||||
explicit(false) quantity(Rep&&) -> quantity<D, U, Rep>;
|
||||
#endif
|
||||
|
||||
template<Representation Rep>
|
||||
explicit(false) quantity(Rep) -> quantity<dim_one, one, Rep>;
|
||||
|
||||
Reference in new issue
Block a user