From dfc9dcbb6b592d5639f5e9232bd022b85090a5b1 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 4 May 2026 17:57:20 +0200 Subject: Testing forwarding simplifications --- modules/codec/c++/data.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/codec') diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index 217a53f..b9924c7 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -326,6 +326,14 @@ public: { } + /* + template + requires (sizeof...(Args) == ct_multiply::value) && + (std::constructible_from, Args> && ...) + constexpr data(Args&&... args): + value_{ { std::forward(args)... } } {} + */ + SAW_DEFAULT_COPY(data); SAW_DEFAULT_MOVE(data); -- cgit v1.2.3