formatting

This commit is contained in:
2023-10-25 09:36:51 +02:00
parent 4023ed0775
commit 35ed926047
9 changed files with 71 additions and 74 deletions

View File

@ -103,14 +103,13 @@ template <typename T> struct is_vector : public std::false_type {};
template <typename T>
struct is_vector<std::vector<T>> : public std::true_type {};
template<class...> struct Conjunction : std::true_type {};
template<class B1> struct Conjunction<B1> : B1 {};
template<class B1, class... Bn>
template <class...> struct Conjunction : std::true_type {};
template <class B1> struct Conjunction<B1> : B1 {};
template <class B1, class... Bn>
struct Conjunction<B1, Bn...>
: std::conditional<bool(B1::value), Conjunction<Bn...>, B1>::type {};
template<typename T, typename... Ts>
using AllSame = typename std::enable_if<Conjunction<std::is_same<T, Ts>...>::value>::type;
template <typename T, typename... Ts>
using AllSame =
typename std::enable_if<Conjunction<std::is_same<T, Ts>...>::value>::type;
} // namespace sls

View File

@ -2,12 +2,12 @@
// Copyright (C) 2021 Contributors to the SLS Detector Package
/** API versions */
#define RELEASE "8.0.0"
#define APILIB "8.0.0 0x231025"
#define APIRECEIVER "8.0.0 0x231025"
#define APICTB "8.0.0 0x231025"
#define APIGOTTHARD "8.0.0 0x231025"
#define APILIB "8.0.0 0x231025"
#define APIRECEIVER "8.0.0 0x231025"
#define APICTB "8.0.0 0x231025"
#define APIGOTTHARD "8.0.0 0x231025"
#define APIGOTTHARD2 "8.0.0 0x231025"
#define APIJUNGFRAU "8.0.0 0x231025"
#define APIMYTHEN3 "8.0.0 0x231025"
#define APIMOENCH "8.0.0 0x231025"
#define APIEIGER "8.0.0 0x231025"
#define APIJUNGFRAU "8.0.0 0x231025"
#define APIMYTHEN3 "8.0.0 0x231025"
#define APIMOENCH "8.0.0 0x231025"
#define APIEIGER "8.0.0 0x231025"