MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
Typedefs
variadic_sizeof.hpp File Reference

Defines boost::mpl11::detail::count_if::variadic_sizeof. More...

#include <boost/mpl11/detail/std_index_sequence.hpp>
#include <boost/mpl11/detail/std_size_t.hpp>
#include <boost/mpl11/integer.hpp>

Go to the source code of this file.

Typedefs

template<template< typename...> class predicate, typename... xs>
using boost::mpl11::detail::count_if::variadic_sizeof = size_t< sizeof...(xs)==0?0:sizeof(sizeof_impl< predicate, typename make_std_index_sequence< sizeof...(xs)>::type, xs... >)/sizeof(count_helper< 0, true >) >
 count_if algorithm using a trick with the sizeof operator.
 

Detailed Description

Defines boost::mpl11::detail::count_if::variadic_sizeof.