Re: [cpp] Implementing structs: generic forwarders



On 14 Mar 2002, Murray Cumming wrote:

> How is it helpful to put the operator= and cast operator in a member
> variable's class rather than the C++ class itself? Where did you get the
> name 'forwarder' from?

because we'd need operator= and the cast operator in the C struct and not
the C++ class.

I've pulled the term 'forwarder' from my... let's not get into that :)

-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus@cactus.rulez.org =---'
'You want to be buried or cremated?'  'Surprise me.'




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