Boost logo

Boost :

Subject: Re: [boost] Is there any interest in a library for actor programming? [preliminary submission]
From: Larry Evans (cppljevans_at_[hidden])
Date: 2014-05-09 14:44:33

On 05/08/14 12:30, Dominik Charousset wrote:
> [3]

uses a recursive call using a List<typename ...Ts> which is 1 shorter
than the argument list, List<T0, Ts...>.
Why not just pass sizeof...(T0, Ts...):

and keep adding indices while decreasing this sizeof value,
as done here:

in the package_range_c template class where:

     Start value would be 0
and Finish value would be sizeof...(T0, Ts...)

It achieves the same result, but without producing unneeded
instantiations. For example:


would produce 1 instantiation of:


whereas the int_list.hpp code would, IIUC, produce the same
instantiations for the T's as well as the S's.


Boost list run by bdawes at, gregod at, cpdaniel at, john at