14 Sep
2012
14 Sep
'12
7:35 p.m.
AMDG On 09/14/2012 11:24 AM, Nevin Liber wrote:
On 14 September 2012 12:43, Steven Watanabe
wrote: #include
template
struct AB {}; BOOST_FUSION_ADAPT_STRUCT( , Silly, (AB<2,3>, ab))
fails
<snip>
I was hoping for something more scalable. Amongst other things, the real code has a number of boost::array of varying types of sizes, so it is either a lot of typedefs or a lot of wrapper classes to get the number of template arguments down to one.
There's this trick:
function_traits