Const qualify __mem_fn call operator
QOI improvement. Differential Revision: http://llvm-reviews.chandlerc.com/D2059 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@199848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,6 +32,8 @@ test(F f)
|
||||
assert(a.data_ == 6);
|
||||
const A* cap = ap;
|
||||
assert(f(cap) == f(ap));
|
||||
const F& cf = f;
|
||||
assert(cf(ap) == f(ap));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user