
11 Jul
2010
11 Jul
'10
4:56 p.m.
On 07/11/10 10:39, Larry Evans wrote:
On 07/11/10 02:18, Frank Winter wrote:
I am trying to translate this runtime loop
while( totalsize * maxelem * 3 > poolsize ) maxelem >>= 1;
into MPL. I got so far:
[snip] You might try using:
http://svn.boost.org/svn/boost/sandbox/variadic_templates/boost/mpl/while.hp...
[snip] The attached uses mpl/while.hpp, giving output: actual result=256 expected result=256