Painless
A framework to ease parallelization of sequential CDCL SAT solvers
Loading...
Searching...
No Matches
painless::skipzero_span< T > Class Template Reference

A span-like container that skips zero elements when iterating. More...

#include <vector2D.hpp>

Collaboration diagram for painless::skipzero_span< T >:

Classes

class  Iterator
 

Public Member Functions

 skipzero_span (T *begin, T *end, row_size_t size)
 
 skipzero_span (std::vector< T > &vec)
 
Iterator begin () const
 
Iterator end () const
 
row_size_t capacity () const
 
row_size_t size () const
 
T * data ()
 
const T * data () const
 
T & front ()
 
const T & front () const
 
T & back ()
 
const T & back () const
 

Detailed Description

template<typename T>
class painless::skipzero_span< T >

A span-like container that skips zero elements when iterating.

Template Parameters
TThe type of elements in the span (must be arithmetic).

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