numerics 0.1.0
Loading...
Searching...
No Matches
num::IntRange Struct Reference

Lightweight read-only range over a contiguous int array (C++17-safe span). More...

#include <cell_list.hpp>

Public Member Functions

const int * begin () const noexcept
 
const int * end () const noexcept
 
int size () const noexcept
 
bool empty () const noexcept
 

Public Attributes

const int * first
 
const int * last
 

Detailed Description

Lightweight read-only range over a contiguous int array (C++17-safe span).

Definition at line 59 of file cell_list.hpp.

Member Function Documentation

◆ begin()

const int * num::IntRange::begin ( ) const
inlinenoexcept

Definition at line 62 of file cell_list.hpp.

References first.

◆ empty()

bool num::IntRange::empty ( ) const
inlinenoexcept

Definition at line 71 of file cell_list.hpp.

References first, and last.

◆ end()

const int * num::IntRange::end ( ) const
inlinenoexcept

Definition at line 65 of file cell_list.hpp.

References last.

◆ size()

int num::IntRange::size ( ) const
inlinenoexcept

Definition at line 68 of file cell_list.hpp.

References first, and last.

Member Data Documentation

◆ first

const int* num::IntRange::first

Definition at line 60 of file cell_list.hpp.

Referenced by begin(), empty(), and size().

◆ last

const int* num::IntRange::last

Definition at line 61 of file cell_list.hpp.

Referenced by empty(), end(), and size().


The documentation for this struct was generated from the following file: