|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-08-17 09:01:19
"Paul Mensonides" <pmenso57_at_[hidden]> writes:
> The problem here is that there is no way for argument
> deduction to succeed with an anonymous type because an anonymous type cannot be
> bound to a template argument--meaning that argument deduction must fail before
> it even tries.
Mat,
Maybe I am misunderstanding what Paul is saying here, but it seems to
me if it argument deduction was currently supposed to fail when passed
a type without linkage,
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#488
wouldn't exist.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk