Subject: Re: [std-proposals] Allow '.' to behave like '->' where it is currently an error.
From: Olaf van der Spek (ml_at_[hidden])
Date: 2020-02-27 06:00:16
On Fri, Feb 21, 2020 at 9:12 AM ÐÐ¸Ñ
Ð°Ð¸Ð» ÐÐ°Ð¹Ð´ÐµÐ½Ð¾Ð² via Std-Proposals
> For C++ the value is indeed possibly negative, as this will literally promote using raw pointers because their special properties.
> we try to promote
> something(const object& o);
> instead of
> something(const object* o);
Wouldn't a better solution be for C to adopt references?
STD-PROPOSALS list run by herb.sutter at gmail.com
Standard Proposals Archives on Google Groups