
17 May
2010
17 May
'10
8:14 p.m.
Hi,
I tried to compile the following lines with VC 10:
void path_adapter::convert( const boost::filesystem::path& p)
{
typedef boost::filesystem::path::const_iterator const_path_iterator;
for (const_path_iterator pos = p.begin(); pos < p.end(); ++pos)
{
//...
}
}
and got the error: error C2039: 'distance_to': is not an element of
'boost::filesystem::basic_path