C++ Logo

std-discussion

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 11:12:28 -0400
Sure, because when a glvalue appears in a context that requires a prvalue, the lvalue-to-rvalue, array-to-pointer or function-to-pointer conversions are performed.
null

Received on 2019-10-10 10:14:43