Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53401 - trunk/libs/signals2/test
From: fmhess_at_[hidden]
Date: 2009-05-29 13:55:07


Author: fmhess
Date: 2009-05-29 13:55:06 EDT (Fri, 29 May 2009)
New Revision: 53401
URL: http://svn.boost.org/trac/boost/changeset/53401

Log:
Added check of slot_result_type with void return type.

Text files modified:
   trunk/libs/signals2/test/signal_test.cpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/libs/signals2/test/signal_test.cpp
==============================================================================
--- trunk/libs/signals2/test/signal_test.cpp (original)
+++ trunk/libs/signals2/test/signal_test.cpp 2009-05-29 13:55:06 EDT (Fri, 29 May 2009)
@@ -260,6 +260,7 @@
   BOOST_CHECK(slot_type::arity == signal_type::arity);
 
   typedef boost::signals2::signal<void (short)> unary_signal_type;
+ BOOST_CHECK(typeid(signal_type::slot_result_type) == typeid(void));
   BOOST_CHECK(typeid(unary_signal_type::argument_type) == typeid(short));
   BOOST_CHECK(typeid(unary_signal_type::slot_type::argument_type) == typeid(short));
 }


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