Subject: Re: Does [expr.call]/1 correctly authorize the snippet below to compile?
From: Krystian Stasiowski (sdkrystian_at_[hidden])
Date: 2019-10-10 09:25:22
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.Â
STD-DISCUSSION list run by herb.sutter at gmail.com
Older Archives on Google Groups