Belle II Software  release-05-02-19
FunctorTag.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <type_traits>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20 
22  struct FunctorTag {
23  };
24 
26  template <class T>
27  constexpr bool isFunctor()
28  {
29  return std::is_convertible<T, FunctorTag>::value;
30  }
31  }
33 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19