From: Doug Gregor (gregod_at_[hidden])
Date: 2001-02-08 23:17:03
On Thursday 08 February 2001 11:07, Joe Mariadassou wrote:
> // Tie variables into a tuple
> template<typename T1, typename T2>
> tuple<detail::assign_to_pointee<T1> >
> tie(T1& t1)
> return make_tuple(detail::assign_to_pointee<T1>(&t1));
> Is T2 required here?
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk