Boost logo

Boost Users :

Subject: Re: [Boost-users] metafunction to 'rangify'
From: Hicham Mouline (hicham_at_[hidden])
Date: 2009-12-19 06:56:19


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Mathias Gaunard
> Sent: 18 December 2009 22:51
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] metafunction to 'rangify'
>
> Hicham Mouline wrote:
>
> > 1. Is it possible to get the number of members of a struct at compile-
> time?
>
> No.
How about if I explicitly set a
const static size_t number_of_members = ...;
inside inputs?

would then the previously mentioned desired outcome be possible with
Boost.fusion?

Regards,


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net