|
Boost Users : |
From: Shriram V (shriram_vishwanathan_at_[hidden])
Date: 2005-01-23 06:07:11
Hi,
Your problem is a basic C++ problem, nothing to do with tuple<>s!
Aren't you declaring a function with "tuple<int> t()" ?
Thanks,
-Shriram.
| -----Original Message-----
| From: boost-users-bounces_at_[hidden] [mailto:boost-users-
| bounces_at_[hidden]] On Behalf Of heroboy
| Sent: Saturday, January 22, 2005 8:53 PM
| To: boost-users
| Subject: [Boost-users] boost::tuple problem
|
| hello everyone,
| what's the difference between "tuple<int> t;"
| and " tuple<int> t();"
| why
| tuple<int> t;
| cout<<t;
| is ok.
| But
| tuple<int> t();
| cout<<t;
| make a link error.
| I'm using
| vs.net2003________________________________________________________________
| __欢迎使用ACMAIL 邮件系统
|
|
|
| _______________________________________________
| Boost-users mailing list
| Boost-users_at_[hidden]
| http://lists.boost.org/mailman/listinfo.cgi/boost-users
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