rcolyer.net
RC Lib  Version 202403231100
Classes | Namespaces | Functions
Data2D.h File Reference

Provides a bounds-safe two-dimensional resizeable structure. More...

#include "Data1D.h"
#include "Errors.h"
#include <stdlib.h>

Go to the source code of this file.

Classes

class  RC::Data2D< T >
 A bounds-safe two-dimensional resizeable structure. More...
 

Namespaces

 RC
 

Functions

template<class T >
std::ostream & RC::operator<< (std::ostream &out, const Data2D< T > &d)
 Outputs data to a stream as { { x_0_0, x_1_0, ...}, { x_0_1, x_1_1, ...}, ... }. More...
 
template<class T2 >
void RC::swap (Data2D< T2 > &a, Data2D< T2 > &b)
 Efficiently swap all the contents of a and b.
 

Detailed Description

Provides a bounds-safe two-dimensional resizeable structure.

email address
— (c) 2015