#include <polymorph.h>
Inheritance diagram for Polymorph< T >:


Definition at line 176 of file polymorph.h.
Public Types | |
| typedef T | value_type |
| typedef Polymorph< value_type > | self |
Public Methods | |
| Polymorph (const value_type val) | |
| Polymorph (value_type *ptr) | |
| virtual Typeless * | clone () const |
| Constructs an identical copy of self and returns it. | |
| virtual Typeless * | duplicate () const |
| Same as clone except that the result is guaranteed to have an independent copy of the underlying value. | |
|
|||||||||
|
Constructs an identical copy of self and returns it. Due to Cray C++'s variance from the C++ standard, cannot use actual type as the return value (or it wouldn't match the protype in Typeless.) Reimplemented from PolymorphBase< T >. Definition at line 183 of file polymorph.h. |
1.3-rc2