
31 Aug
2007
31 Aug
'07
10:35 p.m.
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