summaryrefslogtreecommitdiff
path: root/9p10.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-10-08 21:15:10 +0200
committerOskar <[email protected]>2024-10-08 21:15:10 +0200
commit62b5afc0bdff7fe33a347ab53a83e02d9f04f97e (patch)
treeb8e050d8e5aa3bf557d5ecb29ecd2fa61a2ee470 /9p10.cpp
parentc0cc72f03f700ee705e139fb4bf95a7ce03d0b81 (diff)
more
Diffstat (limited to '9p10.cpp')
-rw-r--r--9p10.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/9p10.cpp b/9p10.cpp
new file mode 100644
index 0000000..566b96e
--- /dev/null
+++ b/9p10.cpp
@@ -0,0 +1,21 @@
+#include <iostream>
+#include <vector>
+
+/*
+ *
+ * 9.10
+ *
+ *
+ */
+
+int main () {
+
+ std::vector<int> v1;
+ const std::vector<int> v2;
+ std::vector<int>::iterator it1 = v1.begin(); // std::vector<int>::iterator
+ std::vector<int>::const_iterator it2 = v2.begin(); // std::vector<int>::const_iterator
+ std::vector<int>::const_iterator it3 = v1.cbegin(); // std::vector<int>::const_iterator
+ std::vector<int>::const_iterator it4 = v2.cbegin(); // std::vector<int>::const_iterator
+ if(*it1 || *it2 || *it3 || *it4)
+ return 0;
+}