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

Re: Debian coding style?



Previously Amy Fong wrote:
> You basically wind up with something like this in many instances:
> 
> IntelligenceFactor::AnswerIterator::const_iterator(vector<string> v,
>                                                    vector<int>::iterator
> 																									 it, string 
> 																									 description
> 																									 ....
> 
> Kinda painful eh? %-P

Now try operator=:

IntelligenceFactor::AnswerIterator::const_iterator& IntelligenceFactor::AnswerIterator::const_iterator operator=(const const_iterator& you);

Fun, ain't it? :). If you really want to laugh try and see what the
compiler makes of this sometime..

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wichert@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpg7kHLgQ8P_.pgp
Description: PGP signature


Reply to: