tahoma2d/toonz/sources/include/tlin/tlin_vector.h
2016-06-15 15:43:10 +09:00

27 lines
470 B
C++

#pragma once
#ifndef TLIN_VECTOR_H
#define TLIN_VECTOR_H
//----------------------------------------------------------------------------
/*!
The Vector class represents a vector in tlin-compatible algorithms.
*/
template <typename T>
class vector {
public:
vector(int size);
~vector();
vector(const vector &);
vector &operator=(const vector &);
int size() const;
T &operator[](int i);
const T &operator[](int i) const;
};
#endif // TLIN_MATRIX_H