1 // Boost.Signals library
3 // Copyright (C) 2001 Doug Gregor (gregod@cs.rpi.edu)
5 // Permission to copy, use, sell and distribute this software is granted
6 // provided this copyright notice appears in all copies.
7 // Permission to modify the code and to distribute modified code is granted
8 // provided this copyright notice appears in all copies, and a notice
9 // that the code was modified is included with the copyright notice.
11 // This software is provided "as is" without express or implied warranty,
12 // and with no claim as to its suitability for any purpose.
14 // For more information, see http://www.boost.org
16 #ifndef BOOST_VISIT_EACH_HPP
17 #define BOOST_VISIT_EACH_HPP
19 #include <boost/config.hpp>
22 template<typename Visitor, typename T>
23 inline void visit_each(Visitor& visitor, const T& t, long)
28 template<typename Visitor, typename T>
29 inline void visit_each(Visitor& visitor, const T& t)
31 visit_each(visitor, t, 0);
35 #endif // BOOST_VISIT_EACH_HPP