On Saturday, May 19, 2012 9:15:44 AM UTC-7, Robert A Duff wrote:
> You don't need to qualify everything. Just enough to disambiguate.
> I don't know what operators are visible in this example,
> nor what the context is, but this should work:
>
> T'(Element1 & Element2 & Element3)
Sorry, it won't work. Assume all the elements have some array type Arr. Syntactically, the above is equivalent to
Vector'((Element1 & Element2) & Element3)
before any overload resolution is done. The compiler still cannot tell whether the above means
Vector'(Arr'(Element1 & Element2) & Element3)
or
Vector'(Vector'(Element1 & Element2) & Element3)
So it's still ambiguous.
-- Adam