1234567891011121314151617181920212223242526272829 |
- #ifndef BOOST_VISIT_EACH_HPP
- #define BOOST_VISIT_EACH_HPP
- #include <boost/config.hpp>
- namespace boost {
- template<typename Visitor, typename T>
- inline void visit_each(Visitor& visitor, const T& t, long)
- {
- visitor(t);
- }
- template<typename Visitor, typename T>
- inline void visit_each(Visitor& visitor, const T& t)
- {
- visit_each(visitor, t, 0);
- }
- }
- #endif
|