2 An output iterator which simply discards output.
4 // Copyright Frank Mori Hess 2008.
5 // Distributed under the Boost Software License, Version
6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 // See http://www.boost.org/libs/signals2 for library home page.
11 #ifndef BOOST_SIGNALS2_NULL_OUTPUT_ITERATOR_HPP
12 #define BOOST_SIGNALS2_NULL_OUTPUT_ITERATOR_HPP
14 #include <boost/function_output_iterator.hpp>
26 void operator()(const T&) const
29 typedef boost::function_output_iterator<does_nothing> null_output_iterator;
31 } // namespace signals2
34 #endif // BOOST_SIGNALS2_NULL_OUTPUT_ITERATOR_HPP