On Sat, May 19, 2007 at 10:52:48AM -0000, [EMAIL PROTECTED] wrote: > + // Must use new as np is not known at compile time. > + boost::scoped_array<QPoint> points(new QPoint[np]);
There are never more than five of them, are there? So you could as well use a static array and assert on np. Andre'