Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MNRefProxy Class Reference
[Ropes that hold unsigned characters]

#include <MNRefProxy.h>

Collaboration diagram for MNRefProxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MNRefProxy (MNRope *__r, size_t __p)
 MNRefProxy (const MNRefProxy &__x)
 MNRefProxy (MNRope *__r, size_t __p, uchar_t __c)
 operator uchar_t () const
MNRefProxyoperator= (uchar_t __c)
MNRefProxyoperator= (const MNRefProxy &__c)

Detailed Description

Dereferencing a nonconst iterator has to return something that behaves almost like a reference. It's not possible to return an actual reference since assignment requires extra work. And we would get into the same problems as with the CD2 version of basic_string.


Constructor & Destructor Documentation

MNRefProxy::MNRefProxy MNRope __r,
size_t  __p
 

MNRefProxy::MNRefProxy const MNRefProxy __x  ) 
 

MNRefProxy::MNRefProxy MNRope __r,
size_t  __p,
uchar_t  __c
 

Don't preserve cache if the reference can outlive the expression. We claim that's not possible without calling a copy constructor or generating reference to a proxy reference. We declare the latter to have undefined semantics.


Member Function Documentation

MNRefProxy::operator uchar_t  )  const
 

MNRefProxy& MNRefProxy::operator= const MNRefProxy __c  ) 
 

MNRefProxy& MNRefProxy::operator= uchar_t  __c  ) 
 


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:35:58 2005 for Komssys by doxygen 1.3.8