Boost logo

Boost Users :

Subject: [Boost-users] Using boost_foreach with c++ enumerations
From: Tim Burgess (tim_at_[hidden])
Date: 2013-08-05 13:49:46


Hi,

 

Is it possible to use boost_foreach to iterate over the members of a c++
enum? If so, can anybody point me to an example?

 

Many thanks in advance.

 

Best wishes.

 

Tim Burgess

Raised Bar Ltd.

 

T: 01827 719822

M: 07989 486976

W: http://www.raisedbar.net

 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net