format.cxx File Reference

#include <stdarg.h>
#include <stdint.h>
#include <assert.h>
#include <string.h>
#include <string>
#include <iostream>
#include <sstream>
#include <libsherpa/format.hxx>

Go to the source code of this file.

Namespaces

namespace  sherpa

Defines

#define PUT_DIGIT(d)

Functions

std::string sherpa::vformat (const char *fmt, va_list ap)
std::string sherpa::format (const char *fmt,...)


Define Documentation

#define PUT_DIGIT (  ) 

Value:

do {                               \
    *bufp = '0'+(d);                       \
    if (d >= 10) *bufp = (cnv + ((d)-10)); \
    bufp++;                                \
  } while(false)

Referenced by sherpa::vformat().


Generated on Sat Feb 4 23:59:29 2012 for BitC Compiler by  doxygen 1.4.7