Deprecating Raw Pointers in C++20

This forum is reserved for everything you want to talk about. It could be about programming, opinions, open source programs, development in general, or just cool stuff to share!
Experienced Solver
Experienced Solver
Posts: 76
Joined: Mon Mar 05, 2018 4:17 am

Deprecating Raw Pointers in C++20

Postby Ronald » Mon Apr 02, 2018 3:08 am

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! ... nters.html

01 April 2018

Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 653
Joined: Mon Apr 30, 2012 11:07 pm

Re: Deprecating Raw Pointers in C++20

Postby Manolo » Mon Apr 02, 2018 3:05 pm

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.

User avatar
Knows some wx things
Knows some wx things
Posts: 34
Joined: Mon Nov 19, 2012 3:29 pm
Location: The Great White North

Re: Deprecating Raw Pointers in C++20

Postby shawnhcorey » Tue Apr 03, 2018 12:26 pm

Be wary of anything you read on April 1st. :)

Return to “Open Discussion”

Who is online

Users browsing this forum: No registered users and 0 guests