diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fwdlib.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/fwdlib.hpp b/lib/fwdlib.hpp index 5c52f65..bb5084c 100644 --- a/lib/fwdlib.hpp +++ b/lib/fwdlib.hpp @@ -35,6 +35,11 @@ static void fwd_some(auto option, auto ok, auto fail) return fail(); } +static void fwd_copy(auto n, auto next) +{ + return next(n, n); +} + static void fwd_insert(auto container, auto elem, auto next) { container.insert(std::move(elem)); |