Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #3856
Ticket #3856
: test_make_shared.cpp
File test_make_shared.cpp,
163 bytes
(added by
Georg Fritzsche <georg.fritzsche@…>
,
13 years ago
)
simple test case
Line
1
2
#include
<boost/shared_ptr.hpp>
3
#include
<boost/make_shared.hpp>
4
5
int
main
()
6
{
7
typedef
boost
::
shared_ptr
<
int
>
(
*
FP
)();
8
FP
fp
=
boost
::
make_shared
<
int
>
;
9
}
10
Download in other formats:
Original Format