Provides a one-dimensional vector-like structure. More...
#include "RCconfig.h"
#include "Errors.h"
#include "Iter.h"
#include "Macros.h"
#include "Types.h"
#include <algorithm>
#include <stdlib.h>
#include <iostream>
#include <type_traits>
Go to the source code of this file.
Classes | |
class | RC::Data1D< T > |
A bounds-safe one-dimensional vector-like structure. More... | |
Namespaces | |
RC | |
Functions | |
std::ostream & | RC::operator<< (std::ostream &out, const Data1D< char > &d) |
Outputs all chars to a stream without terminating at null. More... | |
std::ostream & | RC::operator<< (std::ostream &out, const Data1D< u8 > &d) |
Outputs data to a stream as { 61, 62, ... }. More... | |
std::ostream & | RC::operator<< (std::ostream &out, const Data1D< i8 > &d) |
Outputs data to a stream as { 61, -42, ... }. More... | |
template<class T > | |
std::ostream & | RC::operator<< (std::ostream &out, const Data1D< T > &d) |
Outputs data to a stream as { elem0, elem1, ... }. More... | |
template<class T > | |
void | RC::swap (RC::Data1D< T > &a, RC::Data1D< T > &b) |
Efficiently swap all the contents of a and b. | |
template<class T , size_t N> | |
auto | RC::MakeData1D (T(&arr)[N]) -> RC::Data1D< T > |
Convenience generator for safely converting C-style arrays. | |
Provides a one-dimensional vector-like structure.