Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-05-27 03:43:44

"Alexander Nasonov" <alnsn-boost_at_[hidden]> wrote in message

> David Abrahams writes:
> > The function returns a reference to a multidimensional array, where
> > each numerical element that you were putting in the mpl::vector is
> > encoded as a separate dimension of the array.
> Exactly. It's the vector returned by encode_type_impl. I didn't have a
> chance to think about my idea thoroughly but this is something completely
> different. Partial specializations aren't supported by functions, for
> example.

I think they are:

template<class T>
char foo(vector<T>& v)[id1][id2][id3];

But how would this work? This array type will stay inside the function. We
need a function to return the object of certain _size_ in order to pass it


Boost list run by bdawes at, gregod at, cpdaniel at, john at