P4C
The P4 Compiler
Loading...
Searching...
No Matches
BFN::Alloc2Dbase< T > Class Template Reference
Inheritance diagram for BFN::Alloc2Dbase< T >:
[legend]

Public Member Functions

 Alloc2Dbase (Alloc2Dbase &&a) noexcept
 
 Alloc2Dbase (int r, int c)
 
T & at (int i, int j)
 
const T & at (int i, int j) const
 
void clear ()
 
int cols () const
 
bool operator!= (const Alloc2Dbase< T > &t) const
 
bool operator== (const Alloc2Dbase< T > &t) const
 
rowref< T > operator[] (int i)
 
rowref< const T > operator[] (int i) const
 
T & operator[] (std::pair< int, int > i)
 
const T & operator[] (std::pair< int, int > i) const
 
int rows () const
 

Friends

class Alloc3Dbase< T >