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

pantheios/inserters/pad.hpp File Reference


Detailed Description

[c++ only] definition of the pantheios::pad string inserter for for providing padding of arguments of arbitrary type.

#include <pantheios/pantheios.h>
#include <stlsoft/shims/access/string.hpp>

Go to the source code of this file.

Namespaces

namespace  pantheios

Defines

#define PANTHEIOS_LPAD(var, minWidth)   ( ::pantheios::pad(var, minWidth)), (var)
 Inserts a variable with a minimum width, padding to the left with spaces.
#define PANTHEIOS_RPAD(var, minWidth)   (var), ( ::pantheios::pad(var, minWidth))
 Inserts a variable with a minimum width, padding to the right with spaces.

pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo