The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: JonathonS <thejunk...@gmail.com>
Date: Thu, 20 Sep 2012 09:53:42 -0700
Local: Thurs, Sep 20 2012 12:53 pm
Subject: Re: [Boost-users] [filesystem] using locales on Solaris with GCC
Thanks Lars for the help.
> You could probably stub up a no-op codecvt and pass that in wherever
I thought of this idea, but unfortunately, this would require the devs
> Boost.Filesystem has an default codecvt parameter. to remember to pass in the stubbed codecvt implementation whenever they create a filesystem::path object. I guess I could create a helper function to return a path object, but then again, that would require them to use my helper function. I don't think they would like this. Is there a way to say, "always use this codecvt for all locales" ?
> As I understand it, your explosions is due to the codecvt()
Correct. Whenever boost filesystem gets instantiated, it tries to get
> instantiation itself, not the actual use of it. the default locale via the invocation std::locale("") which seems to call the constructor for codecvt. If I was able to replace std::locale("") with std::locale(), then I think my problem would be solved because then this would force my customer's to set their locale via std::locale::global(...) and let them handle the issue :) Thanks,
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||