MCPcopy Create free account
hub / github.com/USCiLab/cereal / SetValueByPointer

Function SetValueByPointer

include/cereal/external/rapidjson/pointer.h:1282–1284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1280template <typename T, typename T2>
1281CEREAL_RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr<internal::IsPointer<T2>, internal::IsGenericValue<T2> >), (typename T::ValueType&))
1282SetValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, T2 value, typename T::AllocatorType& a) {
1283 return pointer.Set(root, value, a);
1284}
1285
1286template <typename T, typename CharType, size_t N>
1287typename T::ValueType& SetValueByPointer(T& root, const CharType(&source)[N], typename T::ValueType& value, typename T::AllocatorType& a) {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected