|
Boost : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-03-07 11:06:30
"Vladimir Prus" <ghost_at_[hidden]> wrote in message
news:dujffj$njo$1_at_sea.gmane.org...
> Beman Dawes wrote:
>
>>> Maybe, this can be converted into a function with static variable, so
>>> that the
>>> static variable is only initialized on the first call?
>>
>> OK, this has been changed in CVS. Please try it with the same LC_MESSAGES
>> problem, and let me know if the exception occurs at a more appropriate
>> time.
>
> Sorry, no, because of this another static object:
>
> const std::codecvt<wchar_t, char, std::mbstate_t> *
> converter(
> &std::use_facet<std::codecvt<wchar_t, char, std::mbstate_t> >
> ( loc() ) );
>
> which cals 'loc' before 'main' is called, and gives the same problem.
Grrr.... Sorry. Fixed in CVS.
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk