[PATCH] [libc++] Const qualify __mem_fn call operator

Marshall Clow mclow.lists at gmail.com
Fri Jan 3 12:00:32 PST 2014


  Peter -
  I like this idea, but I don't think it's correct.

  it appears to me that __invoke takes its' first parameter (the functor) by either lvalue or rvalue reference - not const.
  That means that it could modify it.

http://llvm-reviews.chandlerc.com/D2059



More information about the cfe-commits mailing list