Boost logo

Boost :

Subject: Re: [boost] [bind] Boost.Bind compile error with msvc-11 and msvc-10
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2013-02-13 11:33:04

[Peter Dimov]
> Fixing this is not particularly elegant. To select an overload, you need to
> do something like
> void (X::StringList::*pmf)(string const&) = &X::StringList::push_back;

Technically, taking the address of most Standard Library member functions can't be done portably. N3485 [member.functions] permits implementations to add overloads (so &foo::bar is ambiguous without additional type information) and to add default arguments (affecting the signature, so you can't provide additional type information).


Boost list run by bdawes at, gregod at, cpdaniel at, john at