diff options
Diffstat (limited to 'cpp/test/Ice/operations/TestI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/TestI.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/TestI.cpp b/cpp/test/Ice/operations/TestI.cpp index a2e278052bf..3d8e931ee7b 100644 --- a/cpp/test/Ice/operations/TestI.cpp +++ b/cpp/test/Ice/operations/TestI.cpp @@ -267,6 +267,20 @@ MyDerivedClassI::opStringSS(const Test::StringSS& p1, return r; } +Test::StringSSS +MyDerivedClassI::opStringSSS(const Test::StringSSS& p1, + const Test::StringSSS& p2, + Test::StringSSS& p3, + const ::Ice::Current&) +{ + p3 = p1; + std::copy(p2.begin(), p2.end(), std::back_inserter(p3)); + Test::StringSSS r; + r.resize(p2.size()); + std::reverse_copy(p2.begin(), p2.end(), r.begin()); + return r; +} + Test::ByteBoolD MyDerivedClassI::opByteBoolD(const Test::ByteBoolD& p1, const Test::ByteBoolD& p2, |