64 using Teuchos::rcpFromRef;
65 using Teuchos::rcpFromUndefRef;
68 using DummyNS::UndefinedType;
75 RCP<UndefinedType> ut_rcp;
85 RCP<UndefinedType> ut_rcp =
86 #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.