summaryrefslogtreecommitdiffstats
path: root/ue5/verwendung.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ue5/verwendung.cpp')
-rw-r--r--ue5/verwendung.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/ue5/verwendung.cpp b/ue5/verwendung.cpp
index 8a20e6c..a0939cd 100644
--- a/ue5/verwendung.cpp
+++ b/ue5/verwendung.cpp
@@ -2,7 +2,6 @@
2#include <cassert> // for assert 2#include <cassert> // for assert
3#include <utility> // for std::move 3#include <utility> // for std::move
4#include <stdexcept> // for std::out_of_range 4#include <stdexcept> // for std::out_of_range
5#include <iostream> //TODO
6 5
7struct Person 6struct Person
8{ 7{
@@ -80,7 +79,6 @@ int main()
80 } catch (...) 79 } catch (...)
81 {} 80 {}
82 81
83
84 { 82 {
85 // derived1 is 0. 83 // derived1 is 0.
86 shared_ptr<Student> derived1; 84 shared_ptr<Student> derived1;
@@ -154,9 +152,6 @@ int main()
154 a1.swap(a2); 152 a1.swap(a2);
155 assert(a1[0] == 4); 153 assert(a1[0] == 4);
156 assert(a2[2] == 3); 154 assert(a2[2] == 3);
157
158 for(array<int,3>::iterator it = a2.begin(); it != a2.end(); ++it)
159 std::cout << (*it) << std::endl;
160#endif 155#endif
161 156
162#ifdef SOLVED_3 157#ifdef SOLVED_3