Boost logo

Boost Users :

Subject: Re: [Boost-users] mpl vector of pair access
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2013-04-19 13:49:36


> must be mpl::vector<
> mpl::vector< ...
>
>
> Right :)

Thanks, now I want to find the maximum over all, but I've got lost. I
got it working for

typedef mpl::vector_c<std::size_t,
                0, // undefined,
                4, // foo,
                7 // bar,
> arity_info;

struct max_arity
        : mpl::deref<
                mpl::max_element<arity_info>::type
>::type
{ };

but not here with the vector<vector<>> :(


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