Debian Codegraph @

examples/boost_shared_ptr/bsp.cc

raw
1 #include "bsp.h"
2
3 boost::shared_ptr<Foo> g_foo;
4
5 void function_that_takes_foo(boost::shared_ptr<Foo> foo)
6 {
7 g_foo = foo;
8 }
9
10 boost::shared_ptr<Foo> function_that_returns_foo()
11 {
12 return g_foo;
13 }
14
15
16