Re: storing buttons in vector -- need to define copy ctor?



Scribit Joe Van Dyk dies 02/06/2006 hora 12:58:
> However, it fails to compile -- something about the copy ctor.

Try to store pointers (or Glib::Refptr) of widget, they are assignable,
AFAIK.

The value type of an STL container must be assignable. It must also be
default constructible when you want to reserve space, I think.

Quickly,
Nowhere man
-- 
nowhere man levallois eu org
OpenPGP 0xD9D50D8A

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]