summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/nrvo/MyStringSeq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/nrvo/MyStringSeq.cpp')
-rw-r--r--cpp/demo/Ice/nrvo/MyStringSeq.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/cpp/demo/Ice/nrvo/MyStringSeq.cpp b/cpp/demo/Ice/nrvo/MyStringSeq.cpp
new file mode 100644
index 00000000000..240f42f6fb6
--- /dev/null
+++ b/cpp/demo/Ice/nrvo/MyStringSeq.cpp
@@ -0,0 +1,34 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#include <MyStringSeq.h>
+
+#include <iostream>
+
+using namespace std;
+
+MyStringSeq::MyStringSeq()
+{
+}
+
+MyStringSeq::MyStringSeq(size_t n) :
+ vector<string>(n)
+{
+}
+
+MyStringSeq::MyStringSeq(size_t n, const string& str) :
+ vector<string>(n, str)
+{
+}
+
+MyStringSeq::MyStringSeq(const MyStringSeq& seq) :
+ vector<string>(seq)
+{
+ cout << "MyStringSeq copy ctor" << endl;
+}