formatting

This commit is contained in:
2023-10-24 11:17:18 +02:00
parent d44329117d
commit 91140bbb71
5 changed files with 20 additions and 19 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

@ -10,4 +10,4 @@
#define APIJUNGFRAU "7.0.3 0x230922"
#define APIMYTHEN3 "7.0.3 0x230922"
#define APIMOENCH "7.0.3 0x230922"
#define APIEIGER "7.0.3 0x231018"
#define APIEIGER "7.0.3 0x231018"