ASSIGN(OC)
Shore Programmer's Manual - 3 November 94
NAME
assign \- REF(T) assignment
SYNOPSIS
#include <ShoreApp.h>
REF(T) &REF(T) ::operator=(const REF(T) &ref);
REF(any) &REF(any)::operator=(const LOID &loid);
DESCRIPTION
There are two public forms of the C++ assignment assignment operator. The
first form allows assignment between refs of the same type. The second
form is only available on REF(any); it allows assignment between refs and
logical oids.
BUGS
REF(T) has one additional overloading of
operator=:
REF(T) &REF(T)::operator=(const T *p);
This form of operator= should only be used to assign the result of
T::operator new
to a REF(T) variable. Other uses of this assignment operator are unsafe.
VERSION
This manual page applies to Version 0.1 of theShore software.
SPONSORSHIP
The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-91-C-Q518.
COPYRIGHT
Copyright (c) 1994 Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.SEE ALSO
ref(oc)
,
construct(oc)
,
equal(oc)
,
new(sdl)
.