Bug #19473. If you pass an allocator to std::function, we should use that allocator...
authorMarshall Clow <mclow.lists@gmail.com>
Fri, 18 Apr 2014 17:23:36 +0000 (17:23 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Fri, 18 Apr 2014 17:23:36 +0000 (17:23 +0000)
commit5f7c2db2ceae312498634bd521ef64a69a6e2545
treead324e2e2c4bead2bdbe92d0b5c171c5611f090c
parentf8361d127a92b81126a5370b50944bef169fbcff
Bug #19473. If you pass an allocator to std::function, we should use that allocator, not construct one from scratch. Add a test to make sure

llvm-svn: 206623
libcxx/include/functional
libcxx/test/support/test_allocator.h
libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.pass.cpp