From 977ac8bce989285eaabc76c4ed8571ce5fd6793a Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Mon, 22 Jul 2024 17:44:27 +0200 Subject: wip --- modules/codec/c++/data.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/codec/c++') diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index b1e9401..734a56e 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -622,6 +622,9 @@ private: public: data() = default; data(data){} + data(const std::array, ct_multiply::value>& value__): + value_{value__} + {} data& at(const std::array& ind){ return value_.at(this->get_flat_index(ind)); -- cgit v1.2.3