Belle II Software development
Size Struct Reference

Functor to get the .size() from an arbitrary objects. More...

#include <Functional.h>

Public Member Functions

 operator FunctorTag ()
 Marker function for the isFunctor test.
 
template<class T >
auto operator() (const T &t) const -> decltype(t.size())
 Operator getting the .size() of an arbitrary object.
 

Detailed Description

Functor to get the .size() from an arbitrary objects.

Definition at line 318 of file Functional.h.

Member Function Documentation

◆ operator()()

auto operator() ( const T &  t) const -> decltype(t.size())
inline

Operator getting the .size() of an arbitrary object.

Definition at line 324 of file Functional.h.

325 {
326 return t.size();
327 }

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