summaryrefslogtreecommitdiff
path: root/modules/codec/c++/data.hpp
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-22 17:44:27 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-22 17:44:27 +0200
commit977ac8bce989285eaabc76c4ed8571ce5fd6793a (patch)
tree08df4e53e4f2ea947662cc6b1d207ed852292474 /modules/codec/c++/data.hpp
parentfdf1b23129d73b27b28756e77da9b02215878721 (diff)
wip
Diffstat (limited to 'modules/codec/c++/data.hpp')
-rw-r--r--modules/codec/c++/data.hpp3
1 files changed, 3 insertions, 0 deletions
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<MetaSchema, encode::Native>){}
+ data(const std::array<data<T, encode::Native>, ct_multiply<uint64_t,D...>::value>& value__):
+ value_{value__}
+ {}
data<T, encode::Native, storage::Default>& at(const std::array<uint64_t, sizeof...(D)>& ind){
return value_.at(this->get_flat_index(ind));