On 19 Sep 2000, Lars Gullik Bjønnes wrote:

> If I guess correctly this should be written as:
> 
>         case MenuItem::Toc:
>         {
>                 TocItem tit;
>                 tit.path = path;
>                 toc_.push_back(tit);
>                 break;
>         }

No. toc_ is a special vector of ListsHolder { string, Gnome::UI::Array }
used in Gnome menu code.

> On another note, we dont use toc_[toc_size() -1 ] we use toc_.back()

I guess, STL is still a magic for me :). Thank's for the hint.

Marko

Reply via email to