$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jeff Garland (jeff_at_[hidden])
Date: 2007-12-27 08:58:58
Richard wrote:
> In article <4772F58B.8080908_at_[hidden]>,
> Jeff Garland <jeff_at_[hidden]> writes:
>
>> The new is NOT superfluous. The constructor of std::locale takes a pointer to
>> a reference counted facet -- effectively taking ownership of the memory.
>
> Does it call delete on it?
Yes -- there's an internal reference count in the facet so that facets can be
shared by multiple streams.
Jeff