diff options
Diffstat (limited to 'modules/codec/c++')
-rw-r--r-- | modules/codec/c++/data.hpp | 3 |
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)); |