
8 May
2011
8 May
'11
1:09 p.m.
Hi i have a container class that defines 2 overloaded [] operators: T& operator[](const chat *); T& operator[](unsigned int); when i am using BOOST_FOREACH(T val,container) i get compilation errors but working directly with iterators is working ok, any idea?