Boost logo

Boost Users :

From: Richard Dingwall (rdingwall_at_[hidden])
Date: 2007-09-04 17:29:36


On 9/5/07, Graham Reitz <graham.cpp_at_[hidden]> wrote:
>
> One of my colleagues has asked me, "why not use a simple struct over a
> tuple?"
>
> Unfortunately, I couldn't give a convincing answer, which means I
> probably don't understand tuple well enough.
>
> What is a good way to respond to this? Then we can identify when it
> makes better sense to use a struct versus a tuple.

Arguably a tuple is simpler (to use) than a struct :)

Richard



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net