ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
Re: [boost] Tuples in MS Visual C++
by Doug Gregor other posts by this author
Feb 9 2001 4:17AM messages near this date
RE: [boost] Tuples in MS Visual C++ | RE: [boost] Overhaul of Random Number Library
On Thursday 08 February 2001 11:07, Joe Mariadassou wrote:
>  <snip>
>  // Tie variables into a tuple
>  template<typename T1, typename T2>
>  inline
>  tuple<detail::assign_to_pointee<T1> >
>  tie(T1& t1)
>  {
>  return make_tuple(detail::assign_to_pointee<T1>(&t1));
>  }
> 
>  </snip>
>  Is T2 required here?
>  joe

No, and it is incorrect. Since T2 cannot be deduced, this tie() function can
never be instantiated. Thank you for noting the error - an updated version is
in the vault.

Doug
Thread:
Joe Mariadassou
Doug Gregor

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved