gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] Re: darcs vs tla


From: Catalin Marinas
Subject: [Gnu-arch-users] Re: darcs vs tla
Date: Fri, 12 Nov 2004 16:25:54 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Andrew Suffield <address@hidden> writes:
> On Fri, Nov 12, 2004 at 10:37:02AM +0000, Catalin Marinas wrote:
>> for_each(words.begin(), words.end(), add_to_dict(dict));
>
> That's valid C code. You just need a library...

Partly true, the add_to_dict here is a callable object. The difference
in C++ is that you write add_to_dict once and use it with any dict
object (or map if we stay in the STL area).

Catalin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]