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

fastformat/internal/string_encoding.h File Reference


Detailed Description

[C, C++] Utilities to assist with implementation as multibyte or wide string

#include <fastformat/fastformat.h>

Go to the source code of this file.

Defines

#define FASTFORMAT_LITERAL_STRING(s)   s
 Used to define literal strings.
#define FASTFORMAT_LITERAL_CHARACTER(c)   c
 Defines the literal string as a multibyte or wide character, depending on the absence or presence, respectively, of the symbol FASTFORMAT_USE_WIDE_STRINGS.


Define Documentation

#define FASTFORMAT_LITERAL_CHARACTER (  )     c

Defines the literal string as a multibyte or wide character, depending on the absence or presence, respectively, of the symbol FASTFORMAT_USE_WIDE_STRINGS.

#define FASTFORMAT_LITERAL_STRING (  )     s

Used to define literal strings.

This will be L ## x if FASTFORMAT_USE_WIDE_STRINGS is defined, otherwise x.

Defines the literal string as a multibyte or wide string, depending on the absence or presence, respectively, of the symbol FASTFORMAT_USE_WIDE_STRINGS

Examples:
examples/example.arguments.boolean/example.arguments.boolean.cpp, and examples/example.arguments.character/example.arguments.character.cpp.

Referenced by fastformat::util::change_windows_replacement_parameters_to_fastformat(), fastformat::filters::filter_type(), and fastformat::sinks::fmt_slices().


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