ChampSim
span.h File Reference
#include <algorithm>
#include <cassert>
#include <iterator>
#include <limits>
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.

Namespaces

 champsim
 

Functions

template<typename It >
std::pair< It, It > champsim::get_span (It begin, It end, typename std::iterator_traits< It >::difference_type sz)
 
template<typename It , typename F >
std::pair< It, It > champsim::get_span_p (It begin, It end, typename std::iterator_traits< It >::difference_type sz, F &&func)
 
template<typename It , typename F >
std::pair< It, It > champsim::get_span_p (It begin, It end, F &&func)