Code layout and debugging time
David Cuthbert
dacut at kanga.org
Wed Apr 23 18:55:45 PDT 2003
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? :-)
More information about the freebsd-chat
mailing list