Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-27 06:47:03


Alexander Nasonov <alnsn-boost_at_[hidden]> writes:

> David Abrahams <dave <at> boost-consulting.com> writes:
>
>>
>> "Alexander Nasonov" <alnsn-boost <at> 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.
>
> IIRC, he doesn't apply it to type encoding.

IIRC he does, but you may have been paying more attention than I was.

-- 
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