mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-10-04 19:51:02 +02:00
16 lines
256 B
C++
16 lines
256 B
C++
// Boost shared_ptr_example2_test main program ------------------------------//
|
|
|
|
#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;
|
|
}
|