Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

fastformat/util/sinks/helpers.hpp File Reference


Detailed Description

[C++ only] Sink implementation helper functions for the FastFormat library.

#include <fastformat/fastformat.h>
#include <fastformat/quality/contract.h>
#include <fastformat/format/standard_flags.hpp>
#include <platformstl/error/exceptions.hpp>
#include <stlsoft/memory/auto_buffer.hpp>
#include <string>

Go to the source code of this file.

Namespaces

namespace  fastformat
namespace  fastformat::util

Functions

template<typename B>
size_t concat_slices (B &buff, size_t numResults, ff_string_slice_t const *results)
 Writes a number of slices into a buffer pre-allocated to have sufficient space.
size_t concat_slices (size_t cchBuff, ff_char_t *buff, size_t numResults, ff_string_slice_t const *results)
 Writes a number of slices into a character array that must have sufficient space.


FastFormat Library documentation Matthew Wilson, 2006-2009 SourceForge.net Logo