|
| template<class T> |
| bool | boost::is_null (const boost::shared_ptr< T > &p) |
| | Returns true if p.get()==NULL.
|
| template<class T> |
| bool | boost::nonnull (const boost::shared_ptr< T > &p) |
| | Returns true if p.get()!=NULL.
|
The smart pointer classes Teuchos::RCP and boost::shared_ptr are easily compatible. The two templated conversion functions Teuchos::rcp( const boost::shared_ptr<T> & ) and Teuchos::shared_pointer( const RCP<T> & ) have been created for converting back and forth (see the related non-member functions rcp() and shared_pointer() the RCP classes' documentation).
◆ is_null()
template<class T>
| bool boost::is_null |
( |
const boost::shared_ptr< T > & | p | ) |
|
|
inline |
◆ nonnull()
template<class T>
| bool boost::nonnull |
( |
const boost::shared_ptr< T > & | p | ) |
|
|
inline |