#include <Teuchos_Handleable.hpp>
Inheritance diagram for Teuchos::ConstHandleable< Base >:

Public Member Functions | |
| virtual | ~ConstHandleable () |
| | |
| virtual RefCountPtr< const Base > | getConstRcp () const =0 |
| Virtual dtorReturn a safely-created RefCountPtr to the base type. | |
Recall from the Teuchos RefCountPtr 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.
|
|||||||||
|
Definition at line 57 of file Teuchos_Handleable.hpp. |
|
|||||||||
|
Virtual dtorReturn a safely-created RefCountPtr to the base type.
|
1.3.9.1