PeterSommerlad/UDLSuffixBoost — pull request #3 by viboes (2012-09-16 16:30:04+00:00)
Title: Boostify

Next follow 3 changes that allow me to compile/run the test with gcc-4.7.0 and clang-3.1.

* Swap the order of operator"" in suffix_chrono to avoid bug with gcc-4.7.0 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52521)

```
darwin.compile.c++ bin/TestChrono.test/darwin-4.7.0x/debug/TestChrono.o
TestChrono.cpp: In function ‘void testSecondOperator()’:
TestChrono.cpp:30:20: error: unable to find numeric literal operator ‘operator"" _h’
TestChrono.cpp:30:20: error: unable to deduce ‘const auto’ from ‘’
```

* Added constexpr to select_int_type value member with initializer to fix an issue with clang-3.1

```
clang-darwin.compile.c++ bin/TestBinary.test/clang-darwin-3.1x/debug/TestBinary.o
In file included from TestBinary.cpp:14:
In file included from ../../../boost/suffixes/suffix_binary.hpp:18:
../../../boost/suffixes/select_int_type.hpp:39:30: error: in-class initializer for static data member is not a constant expression
static type const value{ val } ;
~~^~~~~
```

* Make use of static_assert whenever possible using BOOST_ASSERT_EQ.

Please, could you inspect and see if this should be merger on the master branch?