Boost logo

Boost :

From: Niels Dekker - mail address until 2008-12-31 (nd_mail_address_valid_until_2008-12-31_at_[hidden])
Date: 2007-08-31 18:35:36


David Abrahams wrote:
> Thanks for your work on this! I think Fernando is entirely
> qualified to review it...

You're welcome! BTW, Borland's implementation of value-initialization
isn't entirely correct either. It might need a workaround as well...
The following assertion fails on Borland (version 0x582, Turbo C++
Explorer downloaded from www.codegear.com):

struct C { int i; };

  value_initialized<C> * ptr = new value_initialized<C>();
  assert( get(*ptr).i == 0 ); // Fails on Borland 0x582

Kind regards,

  Niels


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk