Function put

Summary

#include "breeze/stream/inserter.hpp"

(1) void put(char c)

(2) void put(char const *source, std::streamsize count)

Function overload

Synopsis

#include "breeze/stream/inserter.hpp"

void put(char c)

Description

Parameters

c - The character to be output.

Precondition
is_sentry_ok()
If the destination stream converts to true (i.e. if ! fail()), calls sputc( c ) on its underlying stream buffer, setting badbit (which may throw) if sputc() fails.

Source

Line 109 in breeze/stream/inserter.hpp.

Synopsis

#include "breeze/stream/inserter.hpp"

void put(char const *source, std::streamsize count)

Description

Parameters

source - A pointer to the characters to be output.

count - The number of characters.

Precondition
If the destination stream converts to true (i.e. if ! fail()), calls sputn( source, count ) on its underlying stream buffer, setting badbit (which may throw) if the return value is not equal to count.

Source

Line 127 in breeze/stream/inserter.hpp.