Belle II Software  release-05-02-19
GetValueType.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - 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 <iterator>
13 #include <type_traits>
14 
15 namespace Belle2 {
20  namespace TrackFindingCDC {
21 
23  template<class Ts>
24  using GetValueType = typename std::remove_reference < decltype(*std::begin(std::declval<Ts&>())) >::type;
25 
26  }
28 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19