2
0
mirror of https://github.com/boostorg/scope.git synced 2026-02-02 21:12:17 +00:00
Files
scope/doc
Andrey Semashev 052b3b156a Fixed scope guard function type deduction for function references.
Scope guard factory functions used to generate scope guards with incorrect
action and condition types if the factory was called with function
references. The scope guard template arguments used to be function types
instead of references to functions.

Also, deduction guides used to decay the arguments, which would produce
scope guards with pointers to functions in template arguments. Although
this worked, formally only references to functions are supported. So
changed the deduction guides to produce references to functions.

Updated docs and tests.

Fixes https://github.com/Lastique/scope/issues/6.
2023-11-28 01:38:35 +03:00
..
2023-03-12 00:43:47 +03:00
2023-03-12 00:43:47 +03:00
2023-03-12 00:43:47 +03:00
2023-03-12 00:43:47 +03:00
2023-10-15 03:26:21 +03:00