Function EraseValueByPointer

Summary

#include <include/rapidjson/pointer.h>

(1) template <typename T>
    bool EraseValueByPointer(T &root, const GenericPointer< typename T::ValueType > &pointer)

(2) template <typename T, typename CharType, size_t N>
    bool EraseValueByPointer(T &root, const CharType(&source)[N])

Function overload

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T>
bool EraseValueByPointer(T &root, const GenericPointer< typename T::ValueType > &pointer)

Description

No description yet.

Mentioned in

Source

Lines 1397-1400 in include/rapidjson/pointer.h.

template <typename T>
bool EraseValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer) {
    return pointer.Erase(root);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T, typename CharType, size_t N>
bool EraseValueByPointer(T &root, const CharType(&source)[N])

Description

No description yet.

Mentioned in

Source

Lines 1402-1405 in include/rapidjson/pointer.h.

template <typename T, typename CharType, size_t N>
bool EraseValueByPointer(T& root, const CharType(&source)[N]) {
    return GenericPointer<typename T::ValueType>(source, N - 1).Erase(root);
}





Add Discussion as Guest

Log in