Function PutReserve

Summary

#include <include/rapidjson/stream.h>

(1) template <typename Stream>
    void PutReserve(Stream &stream, size_t count)

#include <include/rapidjson/stringbuffer.h>

(2) template <typename Encoding, typename Allocator>
    void PutReserve(GenericStringBuffer< Encoding, Allocator > &stream, size_t count)

Function overload

Synopsis

#include <include/rapidjson/stream.h>

template <typename Stream>
void PutReserve(Stream &stream, size_t count)

Description

Reserve n characters for writing to a stream.

Source

Lines 83-87 in include/rapidjson/stream.h.

template<typename Stream>
inline void PutReserve(Stream& stream, size_t count) {
    (void)stream;
    (void)count;
}

Synopsis

#include <include/rapidjson/stringbuffer.h>

template <typename Encoding, typename Allocator>
void PutReserve(GenericStringBuffer< Encoding, Allocator > &stream, size_t count)

Description

No description yet.

Source

Lines 99-102 in include/rapidjson/stringbuffer.h.

template<typename Encoding, typename Allocator>
inline void PutReserve(GenericStringBuffer<Encoding, Allocator>& stream, size_t count) {
    stream.Reserve(count);
}





Add Discussion as Guest

Log in