Caffe2 - C++ API
A deep learning, cross platform ML framework
Static Public Attributes
c10::guts::typelist::count_if< Condition, TypeList > Struct Template Referencefinal

Counts how many types in the list fulfill a type trait Examples: 2 == count_if<std::is_reference, typelist<void, string, int&, bool, const string&&, int>> More...

#include <TypeList.h>

Static Public Attributes

static constexpr size_t value = size<filter_t<Condition, TypeList>>::value
 

Detailed Description

template<template< class > class Condition, class TypeList>
struct c10::guts::typelist::count_if< Condition, TypeList >

Counts how many types in the list fulfill a type trait Examples: 2 == count_if<std::is_reference, typelist<void, string, int&, bool, const string&&, int>>

Definition at line 127 of file TypeList.h.


The documentation for this struct was generated from the following file: