Function PutUnsafe

Summary

#include <include/rapidjson/encodings.h>

(1) template <typename Stream>
    void PutUnsafe(Stream &stream, typename Stream::Ch c)

#include <include/rapidjson/stringbuffer.h>

(2) template <typename Encoding, typename Allocator>
    void PutUnsafe(GenericStringBuffer< Encoding, Allocator > &stream, typename Encoding::Ch c)

Function overload

Synopsis

#include <include/rapidjson/encodings.h>

template <typename Stream>
void PutUnsafe(Stream &stream, typename Stream::Ch c)

Description

Write character to a stream, presuming buffer is reserved.

Source

Lines 90-93 in include/rapidjson/stream.h. Line 687 in include/rapidjson/encodings.h.

template<typename Stream>
inline void PutUnsafe(Stream& stream, typename Stream::Ch c) {
    stream.Put(c);
}

Synopsis

#include <include/rapidjson/stringbuffer.h>

template <typename Encoding, typename Allocator>
void PutUnsafe(GenericStringBuffer< Encoding, Allocator > &stream, typename Encoding::Ch c)

Description

No description yet.

Source

Lines 104-107 in include/rapidjson/stringbuffer.h.

template<typename Encoding, typename Allocator>
inline void PutUnsafe(GenericStringBuffer<Encoding, Allocator>& stream, typename Encoding::Ch c) {
    stream.PutUnsafe(c);
}





Add Discussion as Guest

Log in