C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: Does [expr.call]/1 correctly authorize the snippet below to compile?
From: Krystian Stasiowski (sdkrystian_at_[hidden])
Date: 2019-10-10 10:12:28


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



STD-DISCUSSION list run by herb.sutter at gmail.com

Older Archives on Google Groups