MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetWithDefault

Function GetWithDefault

Source/ThirdParty/rapidjson/pointer.h:683–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681 template <typename T>
682 RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr<internal::IsPointer<T>, internal::IsGenericValue<T> >), (ValueType&))
683 GetWithDefault(ValueType& root, T defaultValue, typename ValueType::AllocatorType& allocator) const {
684 return GetWithDefault(root, ValueType(defaultValue).Move(), allocator);
685 }
686
687 //! Query a value in a document with default value.
688 template <typename stackAllocator>

Callers 1

pointer.hFile · 0.85

Calls 2

GetAllocatorMethod · 0.80
MoveMethod · 0.45

Tested by

no test coverage detected