30 using Teuchos::rcpFromRef;
31 using Teuchos::rcpFromUndefRef;
34 using DummyNS::UndefinedType;
41 RCP<UndefinedType> ut_rcp;
51 RCP<UndefinedType> ut_rcp =
52 #if defined(HAS_TEUCHOS_GET_BASE_OBJ_VOID_PTR)
#define TEUCHOS_UNIT_TEST(TEST_GROUP, TEST_NAME)
Macro for defining a (non-templated) unit test.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
TEUCHOS_TYPE_NAME_TRAITS_BUILTIN_TYPE_SPECIALIZATION(bool)
RCP< T > rcpFromUndefRef(T &r)
Return a non-owning weak RCP object from a raw object reference for an undefined type.
RCP< T > rcpFromRef(T &r)
Return a non-owning weak RCP object from a raw object reference for a defined type.
Smart reference counting pointer class for automatic garbage collection.
Reference-counted pointer class and non-member templated function implementations.