On 25 January 2014 23:40, Marc Glisse wrote:
> On Sat, 25 Jan 2014, Jonathan Wakely wrote:
>
>> That isn't similar and the use of std::array is irrelevant.
>> std::function involves type erasure, usually dynamic allocation, and
>> indirection through function pointers. If you don't use std::functio
On Sat, 25 Jan 2014, Jonathan Wakely wrote:
That isn't similar and the use of std::array is irrelevant.
std::function involves type erasure, usually dynamic allocation, and
indirection through function pointers. If you don't use std::function
then none of that needs to be optimised away.
Indee
On 25 January 2014 16:00, Basile Starynkevitch wrote:
>
> First, my understanding of the C++11 standard thru
> http://en.cppreference.com/w/cpp/utility/functional/function/function
> (which I know is imperfect, but I find it much more readable than
> n3337.pdf draft of C++11 )
> is that in prin