Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

rs::rs_boost Namespace Reference

code from the boost-library (plus some similar additional code). More...


Compounds

class  noncopyable
 make derived classes uncopyable. More...

class  counted
 counts the number of instances. More...

class  singleton
 ensure that only one object of a class may be constructed. More...


Functions

void second_instance_error ()
template<class T> T next (T x)
 next() and prior() template functions. More...

template<class T> T prior (T x)
 opposite of next. More...


Detailed Description

code from the boost-library (plus some similar additional code).

see http://www.boost.org/ for the complete boost library


Function Documentation

void second_instance_error  
 

Definition at line 29 of file boost_util.cpp.

Referenced by singleton< XML_Document >::singleton().

T next   x
 

next() and prior() template functions.

Helper functions for classes like bidirectional iterators not supporting operator+ and operator-.

Usage:
            const std::list<T>::iterator p    = get_some_iterator();
            const std::list<T>::iterator prev = boost::prior(p);
Contributed by Dave Abrahams

Definition at line 53 of file boost_util.h.

Referenced by XML_Attribute::XML_Attribute().

T prior   x
 

opposite of next.

Definition at line 57 of file boost_util.h.


Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen