Re: [Boost-users] Macro to contruct/allocate a shared_ptr?

14 Jul
2006
14 Jul
'06
11:21 a.m.
boost-users-bounces@lists.boost.org wrote:
well, i just tried to compile the shared_new_test.cc, but it failed using vc71 and vc8 (boost 1.33.1). anyway, its quite similiar to the code Roman Perepelitsa posted. a short example using his newptr: struct X { X( int _x, double _y, const std::string & _z ) { ... } } shared_ptr<X> x = newptr<X>(42, 42.0, "hello world");
6915
Age (days ago)
6916
Last active (days ago)
1 comments
2 participants
participants (2)
-
bringiton bringiton
-
David Klein