Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81618 - trunk/boost/coroutine
From: oliver.kowalke_at_[hidden]
Date: 2012-11-28 16:50:36


Author: olli
Date: 2012-11-28 16:50:36 EST (Wed, 28 Nov 2012)
New Revision: 81618
URL: http://svn.boost.org/trac/boost/changeset/81618

Log:
coroutine: remove static assert

Text files modified:
   trunk/boost/coroutine/coroutine.hpp | 88 ++++++++++++++++++++--------------------
   1 files changed, 44 insertions(+), 44 deletions(-)

Modified: trunk/boost/coroutine/coroutine.hpp
==============================================================================
--- trunk/boost/coroutine/coroutine.hpp (original)
+++ trunk/boost/coroutine/coroutine.hpp 2012-11-28 16:50:36 EST (Wed, 28 Nov 2012)
@@ -285,8 +285,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, stack_allocator, std::allocator< coroutine >,
@@ -322,8 +322,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, std::allocator< coroutine >,
@@ -358,8 +358,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, Allocator,
@@ -396,8 +396,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, stack_allocator, std::allocator< coroutine >,
@@ -433,8 +433,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, std::allocator< coroutine >,
@@ -469,8 +469,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, Allocator,
@@ -507,8 +507,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, stack_allocator, std::allocator< coroutine >,
@@ -544,8 +544,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, std::allocator< coroutine >,
@@ -580,8 +580,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, Allocator,
@@ -863,8 +863,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, stack_allocator, std::allocator< coroutine >,
@@ -901,8 +901,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, stack_allocator, std::allocator< coroutine >,
@@ -938,8 +938,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, std::allocator< coroutine >,
@@ -975,8 +975,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, std::allocator< coroutine >,
@@ -1011,8 +1011,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, Allocator,
@@ -1047,8 +1047,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, Allocator,
@@ -1085,8 +1085,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, stack_allocator, std::allocator< coroutine >,
@@ -1123,8 +1123,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, stack_allocator, std::allocator< coroutine >,
@@ -1160,8 +1160,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, std::allocator< coroutine >,
@@ -1196,8 +1196,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, Allocator,
@@ -1234,8 +1234,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, stack_allocator, std::allocator< coroutine >,
@@ -1271,8 +1271,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, std::allocator< coroutine >,
@@ -1307,8 +1307,8 @@
>(),
         impl_()
     {
- BOOST_STATIC_ASSERT((
- is_same< void, typename result_of< Fn() >::type >::value));
+// BOOST_STATIC_ASSERT((
+// is_same< void, typename result_of< Fn() >::type >::value));
         typedef detail::coroutine_object<
                 Signature,
                 Fn, StackAllocator, Allocator,


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk