[PATCH] [libc++] Const qualify __mem_fn call operator
Marshall Clow
mclow.lists at gmail.com
Wed Jan 22 11:59:43 PST 2014
On Jan 3, 2014, at 1:31 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> As far as I can tell, provided that the client does not use reserved names, __invoke is only ever called with a function argument of type pointer to member function from __mem_fn, as those are the only template argument types that __mem_fn is ever instantiated with by mem_fn,
>
> In each of the overloads dealing with those function argument types, the function pointer is not (nor may it be) modified.
>
> http://llvm-reviews.chandlerc.com/D2059
Sorry for the delay; this looks OK to me.
— Marshall
More information about the cfe-commits
mailing list