Tapkee
formatting.hpp File Reference
#include <string>
#include <stdexcept>
#include <sstream>
#include <formatting/wrappers.hpp>
#include <formatting/implementations.hpp>

Go to the source code of this file.

Classes

class  formatting_error
 
class  ValueWrapper
 

Namespaces

 formatting
 
 formatting::internal
 

Functions

std::string format (const std::string &fmt, const ValueWrapper a)
 
std::string format (const std::string &fmt, const ValueWrapper a, const ValueWrapper b)
 
std::string format (const std::string &fmt, const ValueWrapper a, const ValueWrapper b, const ValueWrapper c)
 
std::string format (const std::string &fmt, const ValueWrapper a, const ValueWrapper b, const ValueWrapper c, const ValueWrapper d)
 
std::string format (const std::string &fmt, const ValueWrapper a, const ValueWrapper b, const ValueWrapper c, const ValueWrapper d, const ValueWrapper e)
 
std::string format (const std::string &fmt, const ValueWrapper a, const ValueWrapper b, const ValueWrapper c, const ValueWrapper d, const ValueWrapper e, const ValueWrapper f)
 
std::string format (const std::string &fmt, const ValueWrapper a, const ValueWrapper b, const ValueWrapper c, const ValueWrapper d, const ValueWrapper e, const ValueWrapper f, const ValueWrapper g)
 
std::string format (const std::string &fmt, const ValueWrapper a, const ValueWrapper b, const ValueWrapper c, const ValueWrapper d, const ValueWrapper e, const ValueWrapper f, const ValueWrapper g, const ValueWrapper h)
 
std::string format (const std::string &fmt, const ValueWrapper a, const ValueWrapper b, const ValueWrapper c, const ValueWrapper d, const ValueWrapper e, const ValueWrapper f, const ValueWrapper g, const ValueWrapper h, const ValueWrapper i)
 
std::string format (const std::string &fmt, const ValueWrapper a, const ValueWrapper b, const ValueWrapper c, const ValueWrapper d, const ValueWrapper e, const ValueWrapper f, const ValueWrapper g, const ValueWrapper h, const ValueWrapper i, const ValueWrapper j)
 
std::string formatImplementation (const std::string &formatting, const ValueWrapper **handlers, std::size_t n_handlers)
 

Variables

static const int WORLD_VERSION = 0
 
static const int MAJOR_VERSION = 1
 
static const int MINOR_VERSION = 2
 
const std::string placeholder = "{}"