Belle II Software
development
FunctorTag.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#pragma once
9
10
#include <type_traits>
11
12
namespace
Belle2
{
17
namespace
TrackFindingCDC {
18
20
struct
FunctorTag
{
21
};
22
24
template
<
class
T>
25
constexpr
bool
isFunctor()
26
{
27
return
std::is_convertible<T, FunctorTag>::value;
28
}
29
}
31
}
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
Belle2::TrackFindingCDC::FunctorTag
Tag class to facilitate marking of class as a functor in the sense of this code.
Definition:
FunctorTag.h:20
tracking
trackFindingCDC
utilities
include
FunctorTag.h
Generated on Fri Nov 8 2024 02:58:23 for Belle II Software by
1.9.6