xo-unit: test: verify natural_unit/scaled_unit is structural type
This commit is contained in:
parent
9350f017b1
commit
a7af978e50
6 changed files with 84 additions and 5 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue