[llvm-bugs] [Bug 41930] shared_ptr requires allocator to have rebind template

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 20 13:33:05 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41930

Eric Fiselier <eric at efcs.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |eric at efcs.ca
         Resolution|---                         |INVALID

--- Comment #1 from Eric Fiselier <eric at efcs.ca> ---
Yes. The allocator needs to be rebindable according to the spec here:
http://eel.is/c++draft/allocator.requirements#3

That doesn't strictly require a rebind template, but it does specify that
`IntAllocator` is not allowed in its current state.

NAD.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190520/def98a8c/attachment-0001.html>


More information about the llvm-bugs mailing list