26 Mar
2013
26 Mar
'13
2:31 p.m.
On Tue, Mar 26, 2013 at 10:25 AM, Harg Tholan
Ok, I guess you solution is better for it uses "static_for_each" which would turn into statically generated code. But we may skip pushing stuff into a vector by doing
std::size_t hash = 0; static_for_each( p, [&] ( const channel_t& c ) { boost::hash_combine(hash, c); });
return hash;
Do we agree with this?
Looks good to me. Christian