summaryrefslogtreecommitdiffstats
path: root/ue5/array.hpp
diff options
context:
space:
mode:
authormanuel <manuel@nc8430.lan>2009-06-03 15:00:12 +0200
committermanuel <manuel@nc8430.lan>2009-06-03 15:00:12 +0200
commite251dbf4e82efc3dcfe18f6d5d00ae3ce079d1bd (patch)
tree454e92a8e17a792fab9f98cc96239de3e0947ba2 /ue5/array.hpp
parentdcd1c9a6e1fbb7462db67a15b9e0dfd22d4f6a4f (diff)
downloadooprog-e251dbf4e82efc3dcfe18f6d5d00ae3ce079d1bd.tar.gz
ooprog-e251dbf4e82efc3dcfe18f6d5d00ae3ce079d1bd.tar.bz2
ooprog-e251dbf4e82efc3dcfe18f6d5d00ae3ce079d1bd.zip
ue5
Diffstat (limited to 'ue5/array.hpp')
-rw-r--r--ue5/array.hpp45
1 files changed, 45 insertions, 0 deletions
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 @@
1#ifndef ARRAY_H
2#define ARRAY_H
3
4#undef SOLVED_2
5//#define SOLVED_2
6
7/* TODO Includes */
8
9namespace Ti
10{
11
12/* TODO */
13struct array
14{
15 /* TODO typedef */
16
17 /* TODO static_assert */
18
19 /* TODO:
20 void fill (const T& u);
21 void swap (array<T,N> & other);
22 iterator begin();
23 const_iterator begin() const;
24 iterator end();
25 const_iterator end() const;
26 size_type size() const;
27 size_type max_size() const;
28 bool empty() const;
29 reference operator[] (size_type n);
30 const_reference operator[] (size_type n) const;
31 reference at(size_type n);
32 const_reference at (size_type n) const;
33 T* data();
34 */
35
36private:
37 /* TODO data */
38};
39
40/* TODO */
41array/* TODO */&& make_array();
42
43} // namespace
44
45#endif