/unique_resource

Header-only, single-class, generic resource management.

Primary LanguageC++MIT LicenseMIT

Generic resource management

A one-class implementation of a generic resource management in C++14.

Attributions

This source code is based on the work and code of Peter Sommerlad, Andrew Sandoval, Eric Niebler, and Daniel Krügler. It contains minor additions and changes, and a skeleton of unit tests that borrow from unique_ptr unit tests.