24 Mar
2014
24 Mar
'14
7:06 a.m.
Hello,
In the users mailing list I have remarked that this piece of code:
https://gist.github.com/Kojirion/9714131
will fail to compile, without providing 'mutable' iterators.
I have since found out it will also compile by simply const qualifying
the dummy object. (ie const Dummy dummy;)
The reason is that without it this:
is_const<Dummy> gets evaluated to false, resulting in
boost::mpl::eval_if_c