Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Issue with boost::filesystem::path

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
diarrhio Posted - Jun 15 2010 : 1:14:21 PM
I haven't done much testing with this, however, I regularly encounter this when using boost::filesystem::path. Perhaps other things are affected, but I've mainly noticed it with this.

If I add a "using boost::filesystem;" to my file, all "path" object declarations will be recognized.

e.g.
using namespace boost::filesystem;
path pathObj;

However, if I use a namespace alias or don't do any type of namespace using at all, then path fails to be recognized.

e.g.
namespace fs = boost::filesystem;
fs::path pathObj; // path is underlined in red.

or this:
boost::filesystem::path pathObj; // path is underlined in red.

I'm using latest version of VAX on VS 2005, Windows 7, and boost 1.38. Haven't tested on any newer versions of boost.

Thanks,
D
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jun 15 2010 : 2:20:09 PM
This issue is case=24901

Thank you for the clear description.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000