Boost logo

Boost Users :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2005-01-23 13:59:01

At Saturday 2005-01-22 08:22, you wrote:
> hello everyone,
> &nbsp;&nbsp;&nbsp; what's the difference between "tuple<int> t;"&nbsp;
> and&nbsp;&nbsp;" tuple<int> t();"
> tuple<int> t;
> cout<<t;
>is ok.
> tuple<int> t();

this declares a function named t which takes no arguments and returns a
tuple<int> it does NOT define a variable named t.

> cout<<t;
>make a link error.
>I'm using
>Boost-users mailing list

Victor A. Wagner Jr.
The five most dangerous words in the English language:
               "There oughta be a law"

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at