Changeset 83521


Ignore:
Timestamp:
Mar 22, 2013 9:50:20 PM (4 years ago)
Author:
viboes
Message:

Thread: Added constexpr to future default constructor; protect code incompatible with MSVC8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/boost/thread/future.hpp

    r83466 r83521  
    13811381    BOOST_THREAD_DCL_MOVABLE_BEG(R) detail::basic_future<R> BOOST_THREAD_DCL_MOVABLE_END
    13821382
     1383#if (!defined _MSC_VER || _MSC_VER >= 1400) // _MSC_VER == 1400 on MSVC 2005
    13831384    namespace detail
    13841385    {
     
    13911392        make_future_deferred_object(BOOST_THREAD_FWD_REF(Fp) f);
    13921393    }
     1394#endif // #if (!defined _MSC_VER || _MSC_VER >= 1400)
    13931395
    13941396    template <typename R>
     
    14311433        typedef future_state::state state;
    14321434
    1433         BOOST_THREAD_FUTURE() {}
     1435        BOOST_CONSTEXPR BOOST_THREAD_FUTURE() {}
    14341436
    14351437        ~BOOST_THREAD_FUTURE() {}
     
    15231525        typedef future_state::state state;
    15241526
    1525         shared_future()
     1527        BOOST_CONSTEXPR shared_future()
    15261528        {}
    15271529
Note: See TracChangeset for help on using the changeset viewer.