|
|
@@ -5,12 +5,12 @@ |
|
|
|
[](LICENSE) |
|
|
|
 |
|
|
|
|
|
|
|
Implementation of *Scope Guards* (`scope_exit`, `scope_success`, `scope_fail`) and `unique_resource` as proposed in [**P0052R10**][2] (former [N3949][1]). |
|
|
|
Implementation of *Scope Guards* (`scope_exit`, `scope_success`, `scope_fail`) and `unique_resource` as proposed in [**P0052R10**][1]. |
|
|
|
|
|
|
|
|
|
|
|
## Compatibility |
|
|
|
|
|
|
|
This implementation conforms to [P0052][2], except: |
|
|
|
This implementation conforms to [P0052][1], except: |
|
|
|
|
|
|
|
###### Namespace |
|
|
|
The namespace `sr` is used instead of `std`. |
|
|
@@ -21,9 +21,8 @@ The filenames contain a `.h` extension. To enable the compatible header as speci |
|
|
|
|
|
|
|
## Documentation |
|
|
|
|
|
|
|
- [*P0052R10 - Generic Scope Guard and RAII Wrapper for the Standard Library*][2] (P. Sommerlad, A. L. Sandoval, E. Niebler, D. Krügler) |
|
|
|
- [*N3949 - Scoped Resource - Generic RAII Wrapper for the Standard Library*][1] (P. Sommerlad, A. L. Sandoval) |
|
|
|
|
|
|
|
- [*P0052R10 - Generic Scope Guard and RAII Wrapper for the Standard Library*][1] (P. Sommerlad, A. L. Sandoval, E. Niebler, D. Krügler) |
|
|
|
- [*N4853 – C++ Extensions for Library Fundamentals, Version 3*][2] (T. Köppe) |
|
|
|
|
|
|
|
|
|
|
|
## License |
|
|
@@ -51,5 +50,5 @@ The filenames contain a `.h` extension. To enable the compatible header as speci |
|
|
|
SOFTWARE. |
|
|
|
|
|
|
|
|
|
|
|
[1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3949.pdf |
|
|
|
[2]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0052r10.pdf |
|
|
|
[1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0052r10.pdf |
|
|
|
[2]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/n4853.html |