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

[SVN r33761]
This commit is contained in:
Peter Dimov
2006-04-21 13:14:58 +00:00
parent 683d699e4a
commit c69a4ad382
2 changed files with 31 additions and 5 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);
}