This open-std document suggests that std::function supports a custom allocator, however i can't find anything on the internet or the usual references as to how to provide that custom allocator.
My research tend to make me believe that the custom allocator is implemented in boost::function but did not make it to std::function yet.
So the question is does std::function suuport a custom allocator in C++11 ? If no will it most likely support one in C++14 ?