fundoshi.hpp
A C++ library for multiple string instances with shared memory
 All Classes Namespaces Files Functions Typedefs Pages
fundoshi.hpp File Reference
#include <iostream>
#include <string>
#include <cstring>

Go to the source code of this file.

Classes

class  fundoshi::basic_string< CharType >
 
class  fundoshi::basic_string< CharType >
 

Namespaces

 fundoshi
 

Typedefs

typedef basic_string< char > fundoshi::string
 
typedef basic_string< wchar_t > fundoshi::wstring
 

Functions

template<class CharType >
static size_t fundoshi::strlen (const CharType *str)
 
template<class CharType >
static void fundoshi::print_char (std::ostream &os, CharType c)
 
template<>
void fundoshi::print_char (std::ostream &os, signed char c)
 
template<>
void fundoshi::print_char (std::ostream &os, unsigned char c)
 
template<class CharType >
static int fundoshi::compare (const basic_string< CharType > &str1, const basic_string< CharType > &str2)
 
template<class CharType >
static std::ostream & operator<< (std::ostream &os, const fundoshi::basic_string< CharType > &str)
 

Function Documentation

template<class CharType >
static std::ostream& operator<< ( std::ostream &  os,
const fundoshi::basic_string< CharType > &  str 
)
static

Prints the specified fundoshi::basic_string. See print_char for detailed format.