-
Notifications
You must be signed in to change notification settings - Fork 48
size
Joel Falcou edited this page Jun 24, 2015
·
1 revision
template <typename L>
struct size;
Computes the size of any given Sequence as an Integral Constant.
#include <brigand/sequences/size.hpp>
- L - A sequence
#include <brigand/sequences/list.hpp>
#include <brigand/sequences/size.hpp>
using the_list = brigand::list<int, char, short>;
using s = size<the_list>;
static_assert( size<the_list>::value, 3);