toon-members
[Top][All Lists]
Advanced

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

Re: [Toon-members] tag/tag stdpp.h


From: Georg Klein
Subject: Re: [Toon-members] tag/tag stdpp.h
Date: Sat, 15 Jul 2006 15:42:05 +0100

Edward Rosten wrote:
> CVSROOT: /cvsroot/toon
> Module name: tag
> Changes by: Edward Rosten <edrosten> 06/07/12 00:26:37
>
> Modified files:
> tag            : stdpp.h
>
> Log message:
> Utility function for std::pair, so that multiple values can be
> returned from functions directly in to two variables, eg:
> float f;
> int i;
> rpair(f, i) = make_pair(2.2f, 7);

Hmm, this is looking like TAG is slowly re-implementing BOOST. Not quite
there yet, boost also lets you have one of the rpair be a dummy item..





reply via email to

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