一个来自n3290 ISO草案的观点:
Lambda表达式:5.1.2节,第6段:
可以举个例子来解释这个问题吗?
"The closure type for a lambda-expression with no
lambda-capture has a public non-virtual non-explicit const
conversion function to pointer to function having the same
parameter and return types as the closure type’s function
call operator. The value returned by this conversion
function shall be the address of a function that, when
invoked, has the same effect as invoking the closure
type’s function call operator."
可以举个例子来解释这个问题吗?
sort
函数。) - Kerrek SB