
27 May
2005
27 May
'05
10:12 a.m.
"Alexander Nasonov" <alnsn-boost@yandex.ru> writes:
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.
This array technique is the one used by Steve Dewhurst in his typeof implementation. -- Dave Abrahams Boost Consulting www.boost-consulting.com