|
Boost : |
From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-08-25 06:40:20
>I suppose std::pair could legally (but perversely) be implemented holding
its members as pointers to heap allocated objects. std::swap would >be fast
at least! So would we need a BOOST_TRIVIAL_PAIR config define, presumably
valid for all current std libs?
I suspect that's going too far - if you need a pair that's guarenteed to be
a POD then why not create your own?
- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk