|
Boost : |
Subject: Re: [boost] Review Request: Boost.Locale
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-05-25 15:38:03
> >> intended to return the state to the initial value
> >> (typically, stateT()).
> >
> > That is probably the most misleading point.
> >
> > If state is POD then stateT() does nothing!
>
> It is called value-initialization and it zeroes the POD
> value.
Thank you!
I feel stupid. I hadn't knew about this C++ feature.
Artyom
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk