
At Saturday 2005-01-22 08:22, you wrote:
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();
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 vs.net2003__________________________________________________________________»¶ÓʹÓÃACMAIL Óʼþϵͳ
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"