From e251dbf4e82efc3dcfe18f6d5d00ae3ce079d1bd Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 3 Jun 2009 15:00:12 +0200 Subject: ue5 --- ue5/array.hpp | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ue5/array.hpp (limited to 'ue5/array.hpp') diff --git a/ue5/array.hpp b/ue5/array.hpp new file mode 100644 index 0000000..19cdc02 --- /dev/null +++ b/ue5/array.hpp @@ -0,0 +1,45 @@ +#ifndef ARRAY_H +#define ARRAY_H + +#undef SOLVED_2 +//#define SOLVED_2 + +/* TODO Includes */ + +namespace Ti +{ + +/* TODO */ +struct array +{ + /* TODO typedef */ + + /* TODO static_assert */ + + /* TODO: + void fill (const T& u); + void swap (array & other); + iterator begin(); + const_iterator begin() const; + iterator end(); + const_iterator end() const; + size_type size() const; + size_type max_size() const; + bool empty() const; + reference operator[] (size_type n); + const_reference operator[] (size_type n) const; + reference at(size_type n); + const_reference at (size_type n) const; + T* data(); + */ + +private: + /* TODO data */ +}; + +/* TODO */ +array/* TODO */&& make_array(); + +} // namespace + +#endif -- cgit v1.2.3