Searched defs:LabeledTuple (Results 1 – 1 of 1) sorted by relevance
144 struct LabeledTuple<std::tuple<Args...>, Labels...> struct148 using tuple_type = std::tuple<Args...>;154 explicit LabeledTuple(tuple_type v) : value(std::move(v)) {} in LabeledTuple() argument155 LabeledTuple(Args... args) : value(std::move(args)...) {} in LabeledTuple() function160 nlohmann::json to_json() const in to_json()167 const tuple_type& to_tuple() const in to_tuple()172 void from_json(const nlohmann::json& j) in from_json()177 std::string dump() const in dump()183 const auto& at_index() const in at_index()189 auto& at_index() in at_index()[all …]