Move some compile-time dispatch to runtime

The runtime performance is likely to be negligible,
but compile times need every improvement they can get.
This commit is contained in:
Martin Hořeňovský 2017-08-01 21:58:09 +02:00
parent feca97dfde
commit 85e14c5fb5
4 changed files with 42 additions and 11 deletions

View file

@ -134,7 +134,7 @@ public:
// 1 for negation (conditionally added later)
dest = lhs;
dest += delim;
dest += Internal::OperatorTraits<Op>::getName();
dest += Internal::operatorName(Op);
dest += delim;
dest += rhs;
}