|
Boost : |
From: John Max Skaller (skaller_at_[hidden])
Date: 2001-08-15 20:45:00
williamkempf_at_[hidden] wrote:
> > boost::thread_specific<Foo> bob( "Bob", 3 );
> And what for class types that take multiple arguments but don't have
> copy constructors. How will you account for them in this scheme.
Use tuples :-)
> I've decided to go with thread_specific_ptr<>.
Ok, so that's a slightly different boxing technique
than using tuples. Hmmm. Sounds right.
-- John (Max) Skaller, mailto:skaller_at_[hidden] 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 New generation programming language Felix http://felix.sourceforge.net Literate Programming tool Interscript http://Interscript.sourceforge.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk