2
0
mirror of https://github.com/boostorg/scope.git synced 2026-01-25 18:52:09 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
Andrey Semashev
1e9787d4e8 Avoid using try/catch in non-throwing ctors to silence MSVC warnings. 2023-02-19 20:31:13 +03:00
Andrey Semashev
dbfe34ae36 Workaround MSVC-14.0 lack of support for SFINAE expressions. 2023-02-18 15:54:30 +03:00
Andrey Semashev
5abe4610ea Use test executable file in unique_posix_fd test.
Opening /dev/null may fail on Cygwin and possibly other systems
where it doesn't exist.
2023-02-18 14:59:02 +03:00
Andrey Semashev
f7bb6e2fb1 Workaround for clang < 5.0 that can't pass class template as a TTP from within the class definition. 2023-02-18 14:33:21 +03:00
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
51b7a831f8 Disables self-contained header tests on Windows.
The posix_fd_resource.hpp header expectedly errors out on Windows.
2023-02-13 02:16:07 +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
6a95b55172 Added GitHub Actions config. 2023-02-13 01:53:09 +03:00
Andrey Semashev
6f3272d538 Added a CMake self-test. 2023-02-13 01:46:59 +03:00
Andrey Semashev
979fe65f44 Added CMakeLists.txt. 2023-02-13 01:46:51 +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
Andrey Semashev
6823721e27 Initial commit 2023-01-10 02:02:00 +03:00