const
Function: Label* get_copy (void)Creates a copy of the
Label
and returns a pointer to the copy. Called inPicture::operator=()
andPicture::operator+=()
wherePictures
are copied. Users should never need to call this function directly. See Picture Reference; Operators.This function dynamically allocates a new
Label
and a newPoint
within theLabel
, and copies thestrings
from*this
to the newLabel
. The standard library functions forstrings
take care of the allocation for thestring
members ofLabel
.