2
0
mirror of https://github.com/boostorg/scope.git synced 2026-02-02 21:12:17 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Andrey Semashev
accb6984a7 Attempt to work around gcc 5-8 ICE. 2023-02-18 14:16:45 +03:00
Andrey Semashev
45b1e47b44 Expanded noexcept specification for make_unique_resource_checked.
This avoids applying std::is_nothrow_constructible to unique_resource,
which at that point is incomplete. Presumably, this causes ICE in
gcc-5 through 8 and compile errors with MSVC.
2023-02-13 03:04:23 +03:00
Andrey Semashev
00df65b1bd Revert "Explicitly specify template parameters in is_not_like specializations."
This reverts commit 7c5aef0bb5.
2023-02-13 02:21:05 +03:00
Andrey Semashev
7c5aef0bb5 Explicitly specify template parameters in is_not_like specializations. 2023-02-13 02:08:23 +03:00
Andrey Semashev
894e32bb66 Removed redefinition of template param default. 2023-02-13 01:59:31 +03:00
Andrey Semashev
8bc955abe5 Removed explicit qualification of func_base. 2023-02-13 01:58:12 +03:00
Andrey Semashev
9b798f52d7 Only enable implicit default construction of the deleter if it doesn't throw.
This is to prevent leaking the resource if default construction of the deleter
throws.
2023-02-13 00:55:36 +03:00
Andrey Semashev
928160b613 Added unique_posix_fd. Fixed unique_resource traits support. Added tests. 2023-02-12 20:13:53 +03:00
Andrey Semashev
166d6a178b Fixes and tests for unique_resource. 2023-01-24 02:22:16 +03:00
Andrey Semashev
9f55473af2 Initial commit. 2023-01-10 02:18:35 +03:00