On 7/27/2015 6:28 AM, John Maddock wrote:
On 26/07/2015 16:16, Edward Diener wrote:
#include <cstddef> #include <iostream> namespace boost { namespace mpl { struct integral_c_tag { static const int value = 0; }; template< std::size_t N > struct size_t { static const std::size_t value = N; typedef size_t type; typedef std::size_t value_type; typedef integral_c_tag tag; typedef boost::mpl::size_t< static_caststd::size_t((value + 1))
next; typedef boost::mpl::size_t< static_caststd::size_t((value - 1)) prior; operator std::size_t() const { return static_caststd::size_t(this->value); } }; template< std::size_t N > std::size_t const boost::mpl::size_t< N >::value; }}
int main() { return 0; } using namespace boost; using namespace mpl;
That builds in release mode, but not debug, weird!
What are the different options between release and debug mode ?