This commit is contained in:
chatlanin 2022-03-24 16:49:53 +03:00
parent ff0c8c3fcb
commit 0f97358f8c

View File

@ -37,6 +37,11 @@ namespace hack
public:
value_t get_value() { return value_; };
auto get(std::size_t index)
{
return std::get<index>(value_);
}
auto length()
{
return std::sqrt(length_idx(std::make_index_sequence<std::tuple_size<value_t>::value>{}));