In this example, we create a ScopedPointer object ptr and initialize it with a dynamically allocated integer object. We call release() to relinquish ownership of the integer object and get its raw pointer. We then perform some operation on the raw pointer and manually delete it. Package/library: ScopedPointer is a class in the Poco C++ Libraries. 2. Using released ScopedPointer with another smart pointer:c++ #include