[LLVMdev] Forward: Discussion about custom memory allocators for STL

me22 me22.ca at gmail.com
Sun May 18 09:30:55 PDT 2008


On Sun, May 18, 2008 at 10:02 AM, Gordon Henriksen
<gordonhenriksen at mac.com> wrote:
> That said, there are some parts of boost which are well-structured
> with few or minimal dependencies—like shared_pointer. I feel there's
> not a lot of need to rewrite these headers. Then again, there's not a
> lot of need to pull them in either, being as how such templates are
> trivial.
>

shared_ptr's idea is trivial, but getting all the corner cases right
so it never leaks is not easy at all.




More information about the llvm-dev mailing list