In order to use the root_ptr library, we first need an include:
Output shows handling cyclism
and the order of destruction:
The full code is at root_ptr_example1.cpp.
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)