Andrey Semashev
0e83fcbde7
Added support for file descriptors on Windows.
2023-03-20 00:21:06 +03:00
Andrey Semashev
04fec628ef
Updating docs for unique_resource.
2023-03-12 20:56:55 +03:00
Andrey Semashev
640e16c317
Updated the note about movability of scope guards.
2023-03-12 17:50:36 +03:00
Andrey Semashev
299cc5dce6
Added a note about moved-from scope guard being active on destruction.
2023-03-12 01:01:02 +03:00
Andrey Semashev
622b434272
Added highlighting features of BOOST_SCOPE_FINAL.
2023-03-12 00:52:42 +03:00
Andrey Semashev
e0fc6d6626
Added scope guards docs.
2023-03-12 00:43:47 +03:00
Andrey Semashev
b0b11e3d55
Converted HTML markup to Markdown in Doxygen comments.
2023-03-11 15:05:01 +03:00
Andrey Semashev
4f551c185c
Fixed a typo in a comment.
2023-03-07 00:57:47 +03:00
Andrey Semashev
6c2649c12e
Added tests for preventing construction of reference resource wrappers from rvalues.
2023-03-06 04:49:52 +03:00
Andrey Semashev
2da0db4f58
Reuse is_swappable from Boost.TypeTraits.
2023-03-06 04:43:38 +03:00
Andrey Semashev
39dc0b1cd7
Added Doxygen documentation.
2023-03-06 04:42:15 +03:00
Andrey Semashev
f3cfd937f6
Updated license headers.
2023-02-24 19:30:55 +03:00
Andrey Semashev
18b135804a
Added support for default_resource keyword.
2023-02-22 01:38:35 +03:00
Andrey Semashev
f12546687e
Added checks for whether the function object is destroyed after throwing.
2023-02-21 02:35:23 +03:00
Andrey Semashev
678253f727
Added more tests for exception handling, fixed bugs.
2023-02-21 02:27:42 +03:00
Andrey Semashev
43819ad703
Added more tests for exception handling.
2023-02-20 03:27:43 +03:00
Andrey Semashev
288d1bfb83
Added header/footer.hpp to disable common warnings.
2023-02-20 02:28:04 +03:00
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