12345678910111213141516171819202122232425262728293031323334 |
- #ifndef BOOST_SIGNALS2_NULL_OUTPUT_ITERATOR_HPP
- #define BOOST_SIGNALS2_NULL_OUTPUT_ITERATOR_HPP
- #include <boost/iterator/function_output_iterator.hpp>
- namespace boost
- {
- namespace signals2
- {
- namespace detail
- {
- class does_nothing
- {
- public:
- template<typename T>
- void operator()(const T&) const
- {}
- };
- typedef boost::function_output_iterator<does_nothing> null_output_iterator;
- }
- }
- }
- #endif
|