MCPcopy Create free account
hub / github.com/activeloopai/deeplake / key_value_pair

Method key_value_pair

cpp/icm/json_wrapper.hpp:794–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792 template<typename T>
793 requires (std::is_same_v<T, key_value_pair<true>> || std::is_same_v<T, key_value_pair<false>>)
794 key_value_pair(const T& other)
795 : key_(other.key_)
796 , val_(other.val_)
797 {
798 }
799
800 explicit key_value_pair(const boost::json::key_value_pair& kv) requires (is_const)
801 : key_(kv.key())

Callers

nothing calls this directly

Calls 2

keyMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected