Boost logo

Boost :

Subject: [boost] Help test MSVC 14 CTP compiler
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2014-12-02 07:51:44


Hi Everyone,
I am trying to determine the root cause of the failure in one of
Boost.Optional regression tests. Namely:
http://www.boost.org/development/tests/develop/developer/output/teeks99-08f-win2012R2-64on64-boost-bin-v2-libs-optional-test-optional_test_noexcept_move-test-msvc-14-0-debug-threading-multi.html

Could anyone with the access to MSVC 14 CTP compiler check if the following
code compiles?

// BEGIN CODE

#include <boost/static_assert.hpp>
#include <boost/type_traits/is_nothrow_move_assignable.hpp>

struct NothrowCtor {
  NothrowCtor(NothrowCtor&&) BOOST_NOEXCEPT_IF(true) {};
  void operator=(NothrowCtor&&) BOOST_NOEXCEPT_IF(false) {};
};

BOOST_STATIC_ASSERT(!::boost::is_nothrow_move_assignable<NothrowCtor>::value);

int main() {}

// END CODE

Regards,
&rzej


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk