Archon::Utilities::MutaRefObject< T > Struct Template Reference

Convenience class for adding copy-on-write semantics to a type that for some reason cannot or should not be made to derive from MutaRefObjectBase. More...

#include <archon/util/muta_ref.H>

Inheritance diagram for Archon::Utilities::MutaRefObject< T >:

Inheritance graph
[legend]
Collaboration diagram for Archon::Utilities::MutaRefObject< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MutaRefObject (T v)
MutaRefObjectrefClone () const

Public Attributes

T value

Detailed Description

template<typename T>
struct Archon::Utilities::MutaRefObject< T >

Convenience class for adding copy-on-write semantics to a type that for some reason cannot or should not be made to derive from MutaRefObjectBase.

An obvious examples is the STL classes such as "vector".

Note:
T must be a copyable type.

Definition at line 445 of file muta_ref.H.


The documentation for this struct was generated from the following file:
Generated on Sun Jul 30 22:57:43 2006 for Archon by  doxygen 1.4.4