#include <Teuchos_Handleable.hpp>

Public Member Functions | |
| virtual | ~ConstHandleable () |
| | |
| virtual RCP< const Base > | getConstRcp () const =0 |
| Virtual dtorReturn a safely-created RCP to the base type. | |
Recall from the Teuchos RCP documentation that one should never create directly a smart pointer from a raw pointer; rather, smart pointers should be created through a call to rcp(). The type of the argument to rcp() must be known at compile time. This makes the syntax
ConstHandle h = new Derived();
Definition at line 53 of file Teuchos_Handleable.hpp.
| virtual Teuchos::ConstHandleable< Base >::~ConstHandleable | ( | ) | [inline, virtual] |
| virtual RCP<const Base> Teuchos::ConstHandleable< Base >::getConstRcp | ( | ) | const [pure virtual] |
Virtual dtorReturn a safely-created RCP to the base type.
1.5.9