I tried Arkadiy's example with G++ 3.4.2 on my Debian Linux,
and got the same error messages.
"Jonathan Wakely" <cow@compsoc.man.ac.uk>
news:20041221103411.GB28930@compsoc.man.ac.uk...
Sorry for the late reply. Yes, this is fixed in GCC 3.4.0 and higher.