Boost logo

Boost :

From: Shunsuke Sogame (mb2act_at_[hidden])
Date: 2006-05-26 13:26:36


If you add const-qualification to array type *by hand* when using
VC7.1 seems to fail to order partial specialized templates.
(VC8 has no problem.)
For trivial example,

    int arr[10];

fails under 1.34.0. He can't find partial specialization for array.
I don't know what happens, but the workaround is known.

That is, under VC7.1, please prefer the form

    typename range_metafunction<typename boost::add_const<T>::type>::type


    typename range_metafunction<const T>::type

everywhere T can be an array type.

Shunsuke Sogame

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