Re: boost::tuple problem
23 Jan
2005
23 Jan
'05
11:05 a.m.
heroboy schrieb:
hello everyone, what's the difference between "tuple<int> t;" and " tuple<int> t();"
"tuple<int> t;" creates an instance of the type tuple<int>. "tuple<int> t();" declares a function t() with return type tuple<int>. If the constructor takes no argument you must create the instance without the brackets or the compiler takes it as a function declaration
why tuple<int> t; cout<
the linker can't find the definition of the function "tuple<int> t()"
I'm using vs.net2003__________________________________________________________________欢迎使用ACMAIL 邮件系统
7231
Age (days ago)
7231
Last active (days ago)
0 comments
1 participants
participants (1)
-
Franz Schnyder