qBittorrent
indexrange.h File Reference
#include <QtGlobal>
Include dependency graph for indexrange.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IndexInterval< Index >
 
class  IndexRange< Index, IndexDiff >
 
class  IndexRange< Index, IndexDiff >::Iterator
 

Functions

template<typename T >
constexpr IndexInterval< T > makeInterval (const T first, const T last)
 

Function Documentation

◆ makeInterval()

template<typename T >
constexpr IndexInterval<T> makeInterval ( const T  first,
const T  last 
)
constexpr

Definition at line 63 of file indexrange.h.

64 {
65  return {first, last};
66 }

Referenced by BitTorrent::TorrentInfo::filePieces().

Here is the caller graph for this function: