|
template<class C > |
constexpr auto | precice::detail::size (const C &c) -> decltype(c.size()) |
|
template<class T , std::size_t N> |
constexpr std::size_t | precice::detail::size (const T(&)[N]) noexcept |
|
template<class C > |
constexpr auto | precice::detail::data (C &c) -> decltype(c.data()) |
|
template<class C > |
constexpr auto | precice::detail::data (const C &c) -> decltype(c.data()) |
|
template<class T , std::size_t N> |
constexpr T * | precice::detail::data (T(&array)[N]) noexcept |
|
template<class E > |
constexpr const E * | precice::detail::data (std::initializer_list< E > il) noexcept |
|
template<typename ElementType , std::size_t Extent> |
constexpr span< ElementType, Extent > | precice::make_span (span< ElementType, Extent > s) noexcept |
|
template<typename T , std::size_t N> |
constexpr span< T, N > | precice::make_span (T(&arr)[N]) noexcept |
|
template<typename T , std::size_t N> |
PRECICE_SPAN_ARRAY_CONSTEXPR span< T, N > | precice::make_span (std::array< T, N > &arr) noexcept |
|
template<typename T , std::size_t N> |
PRECICE_SPAN_ARRAY_CONSTEXPR span< const T, N > | precice::make_span (const std::array< T, N > &arr) noexcept |
|
template<typename Container > |
constexpr span< typenamestd::remove_reference< decltype(*detail::data(std::declval< Container & >()))>::type | precice::make_span (Container &cont) |
|
template<typename Container > |
constexpr span< const typename Container::value_type > | precice::make_span (const Container &cont) |
|
template<typename ElementType , std::size_t Extent> |
span< const byte,((Extent==dynamic_extent) ? dynamic_extent :sizeof(ElementType) *Extent)> | precice::as_bytes (span< ElementType, Extent > s) noexcept |
|
template<class ElementType , size_t Extent, typename std::enable_if<!std::is_const< ElementType >::value, int >::type = 0> |
span< byte,((Extent==dynamic_extent) ? dynamic_extent :sizeof(ElementType) *Extent)> | precice::as_writable_bytes (span< ElementType, Extent > s) noexcept |
|
template<std::size_t N, typename E , std::size_t S> |
constexpr auto | precice::get (span< E, S > s) -> decltype(s[N]) |
|