Files
boost_smart_ptr/example/shared_ptr_example2_test.cpp
2003-09-12 17:09:29 +00:00

21 lines
415 B
C++

// Boost shared_ptr_example2_test main program ------------------------------//
// Copyright Beman Dawes 2001.
// See accompanying license for terms and conditions of use.
// See http://www.boost.org/libs/smart_ptr for documentation.
#include "shared_ptr_example2.hpp"
int main()
{
example a;
a.do_something();
example b(a);
b.do_something();
example c;
c = a;
c.do_something();
return 0;
}