On 14 September 2012 12:43, Steven Watanabe <watanabesj@gmail.com> wrote:
> #include <boost/fusion/include/adapt_struct.hpp>
>
> template<int a, int b>
> struct AB {};
>
> BOOST_FUSION_ADAPT_STRUCT(
>     , Silly,
>     (AB<2,3>, ab))
>
> fails
 
> How do I work around this?

typedef?

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.
--
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404