Fixed a visit_each-related bug exposed by strict two-phase lookup

[SVN r33841]
This commit is contained in:
Peter Dimov
2006-04-27 16:21:01 +00:00
parent 472f9e6ebe
commit a87638486b
3 changed files with 35 additions and 6 deletions
+5
View File
@@ -206,6 +206,11 @@
template<class V> void accept(V & v) const
{
#if !defined( BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP ) && !defined( __BORLANDC__ )
using boost::visit_each;
#endif
BOOST_BIND_VISIT_EACH(v, f_, 0);
l_.accept(v);
}