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

# fastformat/util/bundle/windows_replacement_translation_functions.hpp File Reference

## Detailed Description

[C++ only] Functions to assist with translation between Windows and FastFormat replacement parameters.

`#include <fastformat/fastformat.h>`
`#include <fastformat/quality/contract.h>`
`#include <fastformat/util/string/snprintf.h>`

Go to the source code of this file.

## Namespaces
namespace | fastformat
namespace | fastformat::util
## Functions
size_t | calculate_number_of_windows_replacement_parameters (ff_char_t const *str, size_t len)
| Calculates the number of replacement parameters in a Windows format string.
size_t | calculate_number_of_fastformat_replacement_parameters (ff_char_t const *str, size_t len)
| Calculates the number of replacement parameters in a FastFormat format string.
template<typename S>
S | change_windows_replacement_parameters_to_fastformat (S const &str)
| Converts a Windows format string to a FastFormat.Format format string.
template<typename S>
S | escape_fastformat_replacement_parameters (S const &str)
| Converts a literal string into a FastFormat.Format compatible string by replacing any '{' characters with a sequence of "{{".

FastFormat Library documentation © Matthew Wilson, 2006-2009 |