Page 1 of 1

Deprecating Raw Pointers in C++20

Posted: Mon Apr 02, 2018 3:08 am
by Ronald
The C++ Standard moves at a fast pace. Probably, not all developers caught up with C++11/14 yet and recently we got C++17. Now it’ time to prepare C++20!
A few weeks ago The C++ Committee had an official ISO meeting in Jacksonville, FL (12-17 March 2018) where they worked hard on the new specification.

Besides many significant things that were discussed at the meeting like modules, concepts, ranges, The C++ Committee accepted one hugely anticipated feature: deprecation of raw pointers!
http://www.bfilipek.com/2018/04/depreca ... nters.html

01 April 2018

Re: Deprecating Raw Pointers in C++20

Posted: Mon Apr 02, 2018 3:05 pm
by Manolo
While it may become true (deprecating raw pointers), I'm sure all compilers will allow some flag to allow them, even deprecated.
There are so much C++99 code still running and being maintained that changing all raw pointers to smart pointers is more risky than worth.

Re: Deprecating Raw Pointers in C++20

Posted: Tue Apr 03, 2018 12:26 pm
by shawnhcorey
Be wary of anything you read on April 1st. :)