Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2003 21:55:43 -0400
From:      David Cuthbert <dacut@kanga.org>
To:        chat@freebsd.org
Subject:   Re: Code layout and debugging time
Message-ID:  <3EA7441F.9080903@kanga.org>
In-Reply-To: <3EA5A53F.3016395C@mindspring.com>
References:  <5.0.2.1.1.20030422171035.01c5e258@popserver.sfu.ca> <5.0.2.1.1.20030422205617.0387b378@popserver.sfu.ca> <3EA5A53F.3016395C@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> People with "vi" (and people who know how to use "grep") tend
> to declare functions:
> 
> 	int
> 	foo(void)
> 
> Rather than:
> 
> 	int foo(void)

Actually, I tend to do this, too, though the thought of using it for 
grep never occurred to me.

Basically, what happened is I started writing C++ template code.  That 
short little "int foo(void)" became:

inline template <class T, class Compare> T * MyContainer::foo() const

Uh, yeah.  Where's that function/method name again? :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EA7441F.9080903>