------- Comment #14 from paolo dot carlini at oracle dot com 2009-09-09 13:18 ------- (In reply to comment #12) > I need a reinterpret_cast because a regular static_cast would be an > access as _Fwd_list_node again - at least the FE (or maybe it is > fold after all) produces &this->D.1234 in that case which wouldn't fix > the issue.
Hey, but this is **incredibly** brittle, long term certainly we don't want a reinterpret_cast which compiles as a static_cast does but has a different semantics. We badly need a different solution, long term at least. For now, in case, a comment 10 lines high and flashing ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41316