tag:blogger.com,1999:blog-6078706.post106887856607355558..comments2023-12-13T21:25:13.939-08:00Comments on codeWord - Thoughts on Software: Allocation vs Initialization in C++Mohnish Raohttp://www.blogger.com/profile/06259133405943378088noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6078706.post-17328299291131910252007-12-28T06:23:00.000-08:002007-12-28T06:23:00.000-08:00good and useful article, but maybe there had to be...good and useful article, but maybe there had to be:<BR/><BR/>Foo* p = static_cast<B>< Foo * ></B>( operator new( sizeof( Foo ) ) ); <BR/><BR/>instead of:<BR/><BR/>Foo* p = static_cast( operator new( sizeof( Foo ) ) ); <BR/><BR/>?<BR/>at least, GCC doesn't understand yours example. thanks for article once more, good bye.Anonymousnoreply@blogger.com