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?