#include "fstring.h"
#include "rutz/atomic.h"
#include <cstddef>
#include <cstring>
#include <iosfwd>
#include "rutz/algo.h"
#include "rutz/compat_snprintf.h"
#include "rutz/freelist.h"
#include "rutz/mutex.h"
#include <cctype>
#include <istream>
#include <ostream>
#include <pthread.h>
#include "rutz/trace.h"
#include "rutz/debug.h"
Go to the source code of this file.
Defines | |
#define | GVX_NO_PROF |
#define | NUM_CONVERT(fmt, val) |
Functions | |
static const char | __attribute__ ((used)) vcid_groovx_rutz_fstring_cc_utc20050626084020[] |
Variables | |
rutz::free_list < rutz::string_rep > * | GVX_DBG_REGISTER::g_rep_list |
pthread_mutex_t | GVX_DBG_REGISTER::g_rep_list_mutex = PTHREAD_MUTEX_INITIALIZER |
ref-counted string type that allows much faster compile times than std::string
Definition in file fstring.cc.
#define NUM_CONVERT | ( | fmt, | |||
val | ) |
const int SZ = 64; \ char buf[SZ]; \ int n = snprintf(buf, SZ, fmt, (val)); \ GVX_ASSERT(n > 0 && n < SZ); \ return fstring(&buf[0]);
Definition at line 413 of file fstring.cc.