On 23 February 2018 at 14:37, Jonathan Wakely wrote: > On 23 February 2018 at 14:22, Pavlo Solntsev wrote: > >> Yes, I did. because my goal is to get >> const T& get_name()const >> method. I need to return a reference. >> >> > Then you need to change your type to have a using member. >
Sorry, for the typo, that was meant to say "ustring member" > > You can't have it both ways (return a reference, but not have something to > bind the reference to). > > Pick one. >
_______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
