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

fastformat/inserters/real.hpp File Reference


Detailed Description

[C++-only] Inserter functions for floating-point types

#include <fastformat/fastformat.h>
#include <fastformat/quality/contract.h>
#include <fastformat/util/string/snprintf.h>
#include <stlsoft/conversion/integer_to_string.hpp>
#include <stlsoft/string/shim_string.hpp>
#include <stlsoft/util/limit_traits.h>
#include <stdlib.h>

Go to the source code of this file.

Namespaces

namespace  fastformat
namespace  fastformat::inserters

Functions

stlsoft::basic_shim_string
< ff_char_t, 64 > 
real (double const &value)
 [DEPRECATED] Inserts the string form of a floating-point value
stlsoft::basic_shim_string
< ff_char_t, 64 > 
real (double const &value, int minimumWidth, int decimalPlaces)
 Inserts the string form of a floating-point value, with the given width and precision.
stlsoft::basic_shim_string
< ff_char_t, 64 > 
real (double const &value, int minimumWidth, int decimalPlaces, ff_char_t type)
 Inserts the string form of a floating-point value, with the given width, precision and type.


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