On Monday 10 March 2003 11:13 am, Andre Poenitz wrote:
> On Mon, Mar 10, 2003 at 11:14:33AM +0000, Angus Leeming wrote:
> > >   ///
> > >   static string const name_;
> > >   ...
> > >   string const InsetTabularMailer:: name_("tabular");
> > >
> > > over
> > >
> > >   virtual string const & name() const { return "tabular"; }
> >
> > Can you return a reference to this? But you're right, it's probably
> > specious.
>
> Uh, no. But returning by value should do no harm.

I agree that it would simplify things. Would you return a string or a 
char const* ?

Angus

Reply via email to