xo-unit: test: verify natural_unit/scaled_unit is structural type

This commit is contained in:
Roland Conybeare 2024-04-28 15:23:08 -04:00
commit a7af978e50
6 changed files with 84 additions and 5 deletions

View file

@ -9,7 +9,7 @@ namespace xo {
using bpu64_type = bpu<std::int64_t>;
/* compile-time test:
* verify we can use a bpu as a non-type template parameter.
* verify we can use a bpu64_type instance as a non-type template parameter.
* Will need this for quantity<Repr, Int, natural_unit<Int>>
*/
template <bpu64_type bpu>