indiantarget / quimeraengine

0 stars 0 forks source link

ForEach method in containers #638

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add a method called ForEach that receives a delegate that will be called for 
each element which will be passed as argument.

void Container<T>::ForEach(QDelegate<void ()(T&)>);

void Container<T>::ForEach(QDelegate<void ()(const T&)>) 

template<class ParamT>
void Container<T>::ForEach(QDelegate<void ()(T&, ParamT&)>, ParamT&);

template<class ParamT>
void Container<T>::ForEach(QDelegate<void ()(const T&, ParamT&)>, ParamT&) 
const;

Original issue reported on code.google.com by Lince3D@gmail.com on 15 Nov 2014 at 10:16

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 9 Feb 2015 at 6:30