xo-unit: tidy: remove stray TYPE_INFERENCE_EXPERIMENT debris
This commit is contained in:
parent
e37340f6c2
commit
862187c69d
2 changed files with 3 additions and 13 deletions
|
|
@ -18,11 +18,7 @@ namespace xo {
|
|||
>
|
||||
inline std::ostream &
|
||||
operator<< (std::ostream & os,
|
||||
const quantity<Repr,
|
||||
#ifdef TYPE_INFERENCE_EXPERIMENT
|
||||
Int,
|
||||
#endif
|
||||
NaturalUnit, Int2x> & x)
|
||||
const quantity<Repr, NaturalUnit, Int2x> & x)
|
||||
{
|
||||
os << x.scale() << x.abbrev();
|
||||
return os;
|
||||
|
|
|
|||
|
|
@ -388,11 +388,8 @@ namespace xo {
|
|||
static_assert(rr.natural_unit_.n_bpu() == 1);
|
||||
|
||||
constexpr auto q1 = quantity<decltype(ms)::repr_type,
|
||||
#ifdef TYPE_INFERENCE_EXPERIMENT
|
||||
decltype(ms)::ratio_int_type,
|
||||
#endif
|
||||
rr.natural_unit_,
|
||||
decltype(ms)::ratio_int2x_type>(ms.scale() * ms.scale());
|
||||
rr.natural_unit_,
|
||||
decltype(ms)::ratio_int2x_type>(ms.scale() * ms.scale());
|
||||
|
||||
/* proof that q is constexpr */
|
||||
static_assert(q1.scale() == 1.0);
|
||||
|
|
@ -443,9 +440,6 @@ namespace xo {
|
|||
static_assert(rr.natural_unit_.n_bpu() == 0);
|
||||
|
||||
constexpr auto q1 = quantity<decltype(ms)::repr_type,
|
||||
#ifdef TYPE_INFERENCE_EXPERIMENT
|
||||
decltype(ms)::ratio_int_type,
|
||||
#endif
|
||||
rr.natural_unit_,
|
||||
decltype(ms)::ratio_int2x_type>(ms.scale() * ms.scale());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue