------- Additional Comments From chris at bubblescope dot net  2005-01-20 15:14 
-------
Heres another test-case...

#include<algorithm>

struct ptr
{
int* a;
ptr() {}
};

struct foo
{
ptr array[1];
foo() { std::uninitalized_fill_n(array,1,ptr()); }
};

foo f;

Which shows it isn't limited to libstdc++ (assuming uninitalized_fill_n is
correct, which I'm fairly sure it is).

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19544

Reply via email to