#include <stdexcept>
#include <vector>
#include <array>
#include <type_traits>
#include <string>
#include "trait.h"
#include "webcface-config.h"
Go to the source code of this file.
|
constexpr std::false_type | isArrayLike (...) |
|
template<typename T > |
constexpr auto | isArrayLike (T) -> std::bool_constant< std::is_convertible_v< decltype(*std::begin(std::declval< T >())), double > &&std::is_convertible_v< decltype(*std::end(std::declval< T >())), double > > |
|
constexpr std::true_type | arraySizeMatch (...) |
|
template<typename T , std::size_t Num> |
constexpr auto | arraySizeMatch (T, std::integral_constant< std::size_t, Num >) -> std::bool_constant< std::tuple_size< T >::value==Num > |
|
template<typename T > |
std::vector< double > | arrayLikeToVector (const T &array) |
|
template<std::size_t Num, typename T > |
std::array< double, Num > | arrayLikeToArray (const T &array) |
|