|
Boost Users : |
Subject: [Boost-users] [filesystem] iterator VC 10.0
From: Commander Pirx (CmdPirx_at_[hidden])
Date: 2010-05-17 16:14:10
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<String,Traits>::iterator'
Seems to be a problem of the new iterator facade implementation. I had
no trouble with this method until Boost 1.43.0. Any idea how to fix this?
Pirx!
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net