Boost logo

Boost-Commit :

From: stipe_at_[hidden]
Date: 2008-03-11 23:33:16


Author: srajko
Date: 2008-03-11 23:33:15 EDT (Tue, 11 Mar 2008)
New Revision: 43568
URL: http://svn.boost.org/trac/boost/changeset/43568

Log:
adding test_has_call_operator
Added:
   sandbox/SOC/2007/signals/libs/dataflow/test/utility/test_has_call_operator.cpp (contents, props changed)

Added: sandbox/SOC/2007/signals/libs/dataflow/test/utility/test_has_call_operator.cpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/signals/libs/dataflow/test/utility/test_has_call_operator.cpp 2008-03-11 23:33:15 EDT (Tue, 11 Mar 2008)
@@ -0,0 +1,25 @@
+// Copyright Stjepan Rajko 2008. Use, modification and
+// distribution is subject to the Boost Software License, Version
+// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+
+#include <boost/dataflow/utility/has_call_operator.hpp>
+
+#include <boost/test/included/test_exec_monitor.hpp>
+
+struct no_call_operator
+{
+};
+
+int test_main(int, char* [])
+{
+ using namespace boost::dataflow::utility;
+
+ BOOST_CHECK((!has_call_operator<no_call_operator, void()>::type::value));
+
+ return 0;
+} // int test_main(int, char* [])
+
+
+


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