|
|
|
|
|
|
|
|
Implementation of `scope_guard` and `unique_resource` as proposed in [**N3949**][1]. |
|
|
Implementation of `scope_guard` and `unique_resource` as proposed in [**N3949**][1]. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Compatibility |
|
|
|
|
|
|
|
|
|
|
|
This implemenation conforms to [N3949][1], except: |
|
|
|
|
|
|
|
|
|
|
|
1. **Namespace:** Another namespace is used instead of `std`. |
|
|
|
|
|
1. **Filenames:** The filenames contain a `.h` extension. |
|
|
|
|
|
|
|
|
|
|
|
These deviations are necessary through standard requirements. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Documentation |
|
|
## Documentation |
|
|
|
|
|
|
|
|
- [*N3949 - Scoped Resource - Generic RAII Wrapper for the Standard Library*][1] (P. Sommerlad, A. L. Sandoval) |
|
|
- [*N3949 - Scoped Resource - Generic RAII Wrapper for the Standard Library*][1] (P. Sommerlad, A. L. Sandoval) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## License |
|
|
## License |
|
|
|
|
|
|
|
|
**GNU General Public License (GPL)** |
|
|
**GNU General Public License (GPL)** |