- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages
- Examples

# 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 |  | ) | 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 |  | ) | 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.

FastFormat Library documentation © Matthew Wilson, 2006-2009 |