staticarray.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_STATICARRAY_H
#define RUDIMENTS_STATICARRAY_H
#include <rudiments/private/inttypes.h>
template < class valuetype, uint64_t length >
class staticarray {
public:
staticarray();
staticarray(const staticarray<valuetype,length> &v);
staticarray<valuetype,length> &operator=(
const staticarray<valuetype,length> &v);
~staticarray();
valuetype &operator[](uint64_t index);
uint64_t getLength() const;
void clear();
#include <rudiments/private/staticarray.h>
};
#include <rudiments/private/staticarrayinlines.h>
#endif
staticarray
Definition: staticarray.h:37
staticarray::clear
void clear()
Definition: staticarrayinlines.h:84
staticarray::operator=
staticarray< valuetype, length > & operator=(const staticarray< valuetype, length > &v)
Definition: staticarrayinlines.h:39
staticarray::staticarray
staticarray()
Definition: staticarrayinlines.h:8
staticarray::getLength
uint64_t getLength() const
Definition: staticarrayinlines.h:78
staticarray::operator[]
valuetype & operator[](uint64_t index)
Definition: staticarrayinlines.h:72
staticarray::~staticarray
~staticarray()
Definition: staticarrayinlines.h:66