2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-17 14:12:08 +00:00

Thread: merge from trunk 1.53

[SVN r81667]
This commit is contained in:
Vicente J. Botet Escriba
2012-12-02 09:22:33 +00:00
parent 0ae81b8d4c
commit ad3247dd29
287 changed files with 14828 additions and 3477 deletions

View File

@@ -21,7 +21,12 @@
// : true_type { };
#define BOOST_THREAD_VERSION 3
#define BOOST_THREAD_VERSION 4
#if BOOST_THREAD_VERSION == 4
#define BOOST_THREAD_DETAIL_SIGNATURE double()
#else
#define BOOST_THREAD_DETAIL_SIGNATURE double
#endif
#include <boost/thread/future.hpp>
#include <boost/detail/lightweight_test.hpp>
@@ -33,7 +38,7 @@
int main()
{
BOOST_STATIC_ASSERT_MSG((boost::uses_allocator<boost::packaged_task<double>, test_allocator<double> >::value), "");
BOOST_STATIC_ASSERT_MSG((boost::uses_allocator<boost::packaged_task<BOOST_THREAD_DETAIL_SIGNATURE>, test_allocator<double> >::value), "");
return boost::report_errors();
}