Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.
/ retain-ptr Public archive

WG21 P0468 implementation of an intrusive smart pointer for C++

License

Notifications You must be signed in to change notification settings

bruxisma/retain-ptr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a proposal (P0468) and reference implementation for an intrusive smart pointer for the C++ standard library. The example provided is fragile, as it is only being written against Python 3.5. More examples will eventually follow.

The implementation provided works with C++14, but could be backported to C++11. Due to the feature lockin of C++17, this will most likely not make it into the standard until C++20.

Creating the HTML file for the proposal requires rst2html.py, which is a part of the python docutils package.

The reference implementation (everything under the include directory) is under the BSD 2-clause.