C++ Logo


Advanced search

Re: Does [expr.call]/1 correctly authorize the snippet below to compile?

From: Krystian Stasiowski <sdkrystian_at_[hidden]>
Date: Thu, 10 Oct 2019 10:25:22 -0400
This is just another case where prvalue is implied, like with the operands of almost every other operator.Here is how I parse it:For a call to a non-member function or to a static member function, the postfix expression shall either be:- an lvalue that refers to a function (in which case the function-to-pointer standard conversion is suppressed on the postfix expression), or- [a prvalue and] have function pointer type.

Received on 2019-10-10 09:27:37