aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-01-06 01:05:21 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-01-06 01:05:57 +0200
commit89bac537165bf262594cca343cb45e16a2167145 (patch)
treef72a80f1624b12fa3b27c6dc6feedc3e06594e20 /lib
parentaec19e55ca32f68536a550f100d3f058b8a93c02 (diff)
downloadfwd-89bac537165bf262594cca343cb45e16a2167145.tar.gz
fwd-89bac537165bf262594cca343cb45e16a2167145.zip
implement move checking furthermvcheck
+ Enough that examples still compile, but missing references etc.
Diffstat (limited to 'lib')
-rw-r--r--lib/fwdlib.hpp5
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));