Boost logo

Boost Users :

From: Richard (legalize_at_[hidden])
Date: 2007-12-26 20:44:46


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?

-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>
        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net