|
Boost : |
From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-09-17 10:08:19
Peter Dimov <pdimov_at_[hidden]> wrote:
> Human readers will find it even
> less tolerable, of course. Also:
>
> #include <list>
> #include <memory>
>
> template< class T, class A = std::allocator<T> > struct X {};
>
> template<class T, class A> void list(X<T, A> const & x)
> {
> }
>
> int main()
> {
> X<int> x;
> list(x);
> }
>
>
> All we can do is submit a g++ bug.
Oh well... Sigh :-(
template <class T0 = mpl::void_, class T1 = mpl::void_, .... class TN = mpl::void_, >
struct tuple {...};
The TR1 tuples implementation... Now all the code that uses this gets *infected* !!!
Yet one more reason to avoid directly exposing MPL types in the API, I guess.
Thanks, Peter!
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk