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

Marshall Clow (home) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Marshall Clow (home) <[email protected]> ---
This is not a libc++ bug.

The allocator argument for the constructor to std::function must satisfy the
allocator requirements (see func.wrap.func.con/1). 

std::allocator<void>, despite its name, does not satisfy those requirements.
[ Aside: It cannot satisfy those requirements; because it would have to be able
to construct and destroy objects of type `void` ]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to