LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Counts the elements of a tuple-like type containing a Target
type.
More...
#include "TupleLookupByTag.h"
Counts the elements of a tuple-like type containing a Target
type.
Extractor | trait exposing the target type in an element |
Target | the target type to be counted |
Tuple | the tuple-like type to be investigated |
Given a tuple-like type Tuple
, this trait returns how many of its elements "contain" the target type Target
. For example:
nIntegerContainers
will hold value 2
, meaning there are two types with int
as value_type
. Likewise, nDoubleContainers
will be 1
and nFloatContainers
will be 0
.
Definition at line 465 of file TupleLookupByTag.h.