VISH  0.2
Public Member Functions
MemCore::simplestring Class Reference

#include </home/werner/origo/vish/memcore/simplestring.hpp>

List of all members.

Public Member Functions


Detailed Description

Author:
Werner Benger

A simple, slow but exception-free class to store a string within exceptions. The standard std::string class must not be used in exception classes because it might throw exceptions itself, leading to program termination. This class should not be used in normal code, only within template classes. It is convertible to std::strings.

This class does NOT do reference counting. All strings are copied.


Member Function Documentation

char * MemCore::simplestring::allocate_buffer ( size_t  howmany_bytes) throw ()

Allocate internal storage space, but don't initialize it.

Removes anything stored here so far.


The documentation for this class was generated from the following files: