MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / RemoveMember

Function RemoveMember

include/sonic/dom/genericnode.h:807–809  ·  view source on GitHub ↗

* @brief Remove a specific member in the object by key. * @param key string view that contains key's pointer and size * @retval true success * @retval false failed */

Source from the content-addressed store, hash-verified

805 * @retval false failed
806 */
807 sonic_force_inline bool RemoveMember(StringView key) noexcept {
808 return downCast()->removeMemberImpl(key);
809 }
810
811 /**
812 * @brief Remove specific range [first, last) in an object

Callers

nothing calls this directly

Calls 2

downCastFunction · 0.85
removeMemberImplMethod · 0.80

Tested by

no test coverage detected