
12 Mar
2012
12 Mar
'12
2:39 a.m.
On 3/11/2012 6:10 AM, Nathan Ridge wrote:
Have you tried instantiating the range_const_iterator and range_mutable_iterator metafunctions with the relevant types and checking that they actually have ::type members?
That is, do
typedef range_const_iterator
::type T1; and
typedef range_mutable_iterator
::type T2; compile?
Regards, Nate
By 'your_range' I suppose that means the collection type I was trying to use in the FOREACH. I get an error for T1. My collection does not have a const iterator defined for it. I suppose that bothers the machinery in FOREACH even though I'm not asking for one here? —John