stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Teleman <stefan.tele...@gmail.com>
Subject Re: STDCXX-1056 [was: Re: STDCXX forks]
Date Thu, 06 Sep 2012 22:43:04 GMT
On Thu, Sep 6, 2012 at 4:02 PM, Martin Sebor <msebor@gmail.com> wrote:

> Here's a thought: it's not pretty but how about having
> the function initialize the facet? It already has a pointer
> to the base class, so it could downcast it to std::numpunct
> (or moneypunct, respectively), and assign the initial values
> to the members. Would that work?

I haven't looked at them in detail (yet) but a cursory look shows that
they're both recursive for the successful case.

--Stefan

-- 
Stefan Teleman
KDE e.V.
stefan.teleman@gmail.com

Mime
View raw message