Re: [gtk-list] Re: gtkmm: can't use Signal1<const string>



Todd Dukes <tdukes@ibmoto.com> writes:
> > {  Signal1<const string> test;
> >  public:
> >    void function(const string y);
> >    y()
> >    {  connect_to_method(test,this,&function);

actually, I did further tests on this and if you use const string & instead
of const string, then it'll work fine and behavior is the same :-)

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



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