Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Oct 13, 2003 at 10:18:26AM +0200, Lars Gullik Bjønnes wrote: >> | I'm not so sure. Apart from the fact that I don't know what the result >> | of '*var_' is when the variable is not set, I think it is always true >> | that 'T()' is a perfectly valid result here. See how we use cached >> | variables. >> >> CachedVar<int> cache_; >> >> Really non-usable, but has a value that should not be used. Perfect >> use of optional. I am very sure. > | What's the benefit of
How nice, and this has what to do with the topic at hand? | struct BufferParams::Impl | { | Impl(); | boost::array<Bullet, 4> temp_bullets; | boost::array<Bullet, 4> user_defined_bullets; | ... | } > | over Safer, follows the STL container requirements (as close as possible). No slower than the raw array. I really wonder what is riding you... -- Lgb