Re: creating a vector of a vector of Gtk::ToggleButton
- From: Rob Benton <rob benton conwaycorp net>
- To: Carl Nygard <cjnygard fast net>
- Cc: gtkmm-list gnome org, Paul Davis <paul linuxaudiosystems com>
- Subject: Re: creating a vector of a vector of Gtk::ToggleButton
- Date: Thu, 28 Oct 2004 22:31:56 -0500
Carl Nygard wrote:
Do that. You don't want to deal with vector<chiprow*>, for the same
reason you don't really want the headache of
vector<Gtk::ToggleButton*>. You could wrap chiprow* in a smart pointer,
but it's totally unnecessary.
cool. Now when I destroy them if I used a shared_ptr, I can just use:
_chips.clear();
and that should recursively call down all the shared_ptr deletes right?
I don't have to iterate over and call clear on each vector.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]