New Zero struct implements "compare with zero."

* Zero lets classes efficiently compare with 0, so
  you can use constructors like x < zero or y != zero.
* New BEAST_CONSTEXPR to handle Windows/C++11 differences
  regarding the constexpr specifier.
This commit is contained in:
Tom Swirly
2014-04-10 19:14:52 -04:00
committed by Vinnie Falco
parent 6b0cec1189
commit a4ef993282
6 changed files with 291 additions and 10 deletions

View File

@@ -31,3 +31,4 @@
#include "tests/bassert.test.cpp"
#include "tests/empty_base_optimization.test.cpp"
#include "tests/Zero.test.cpp"