CMS 3D CMS Logo

allowedValues.h
Go to the documentation of this file.
1 #ifndef FWCore_ParameterSet_allowedValues_h
2 #define FWCore_ParameterSet_allowedValues_h
3 // -*- C++ -*-
4 //
5 // Package: ParameterSet
6 // Function: allowedValues
7 //
25 //
26 // Original Author: Chris Jones
27 // Created: Tue Jul 28 15:18:40 EDT 2020
28 //
29 
32 
33 #include <memory>
34 
35 namespace edm {
36 
37  template <typename T, typename... ARGS>
38  std::unique_ptr<edm::ParameterDescriptionCases<T>> allowedValues(ARGS&&... args) {
39  return (... || (std::forward<ARGS>(args) >> edm::EmptyGroupDescription()));
40  }
41 
42 } // namespace edm
43 
44 #endif
std::unique_ptr< edm::ParameterDescriptionCases< T > > allowedValues(ARGS &&... args)
Definition: allowedValues.h:38
HLT enums.
long double T