CppCommon  1.0.4.1
C++ Common Library
Namespaces | Functions
format.h File Reference

Format string definition. More...

#include <fmt/args.h>
#include <fmt/format.h>
#include <fmt/ostream.h>
#include <fmt/xchar.h>
#include "format.inl"

Go to the source code of this file.

Namespaces

 CppCommon
 C++ Common project definitions.
 

Functions

template<typename... T>
std::string CppCommon::format (fmt::format_string< T... > pattern, T &&... args)
 Format string. More...
 
template<typename... T>
std::wstring CppCommon::format (fmt::wformat_string< T... > pattern, T &&... args)
 Format wide string. More...
 
template<typename... T>
void CppCommon::print (fmt::format_string< T... > pattern, T &&... args)
 Format string and print it into the std::cout. More...
 
template<typename... T>
void CppCommon::print (fmt::wformat_string< T... > pattern, T &&... args)
 Format wide string and print it into the std::cout. More...
 
template<typename TOutputStream , typename... T>
void CppCommon::print (TOutputStream &stream, fmt::format_string< T... > pattern, T &&... args)
 Format string and print it into the given std::ostream. More...
 
template<typename TOutputStream , typename... T>
void CppCommon::print (TOutputStream &stream, fmt::wformat_string< T... > pattern, T &&... args)
 Format wide string and print it into the given std::ostream. More...
 

Detailed Description

Format string definition.

Author
Ivan Shynkarenka
Date
16.09.2016

Definition in file format.h.