]> git.tdb.fi Git - libs/core.git/commit
Fix formatted output operator detection in lexicalcast.h
authorMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2019 11:50:39 +0000 (14:50 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2019 11:50:39 +0000 (14:50 +0300)
commit4f04dc8e2dcb48d524c141cb14ce05b655608454
tree2970eaf20f16452d59a2648771a892138b2a47ff
parentb65e1d0856c1fb677558a941f3cd858849ee3b28
Fix formatted output operator detection in lexicalcast.h

Since it was using a default-constructed value as part of the test
expression, it would fail to detect the operator for classes that are
not default-constructable.
source/strings/lexicalcast.h