Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
span.h File Reference

Polyfill for std::span on pre-C++20 compilers. More...

#include <array>
#include <cstddef>
#include <iterator>
#include <type_traits>
#include <vector>
Include dependency graph for span.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  utility_module::span< T, Extent >
 A fallback span implementation for C++17 and earlier compilers. More...
 

Namespaces

namespace  utility_module
 

Functions

template<class T , size_t N>
 kcenon::thread::utils::span (T(&)[N]) -> span< T, N >
 
template<class T , size_t N>
 kcenon::thread::utils::span (std::array< T, N > &) -> span< T, N >
 
template<class T , size_t N>
 kcenon::thread::utils::span (const std::array< T, N > &) -> span< const T, N >
 
template<class Container >
 kcenon::thread::utils::span (Container &) -> span< typename Container::value_type >
 
template<class Container >
 kcenon::thread::utils::span (const Container &) -> span< const typename Container::value_type >
 

Detailed Description

Polyfill for std::span on pre-C++20 compilers.

Definition in file span.h.