summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/BasicStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/BasicStream.cpp')
-rw-r--r--cpp/src/Ice/BasicStream.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp
index d29ac6b72a4..416af7e2edf 100644
--- a/cpp/src/Ice/BasicStream.cpp
+++ b/cpp/src/Ice/BasicStream.cpp
@@ -24,17 +24,6 @@
#include <Ice/LocalException.h>
#include <Ice/Protocol.h>
-//
-// COMPILERBUG: Visual C++ .NET doesn't like my template
-// specializations.
-//
-
-#if defined(_MSC_VER) && _MSC_VER > 1200
-
-# define ice_copy std::copy
-
-#else
-
template<typename InputIter, typename OutputIter>
void
ice_copy(InputIter first, InputIter last, OutputIter result)
@@ -50,24 +39,6 @@ ice_copy(std::vector<Ice::Byte>::const_iterator first, std::vector<Ice::Byte>::c
memcpy(&*result, &*first, last - first);
}
-template<>
-void
-ice_copy(std::string::const_iterator first, std::string::const_iterator last,
- std::vector<Ice::Byte>::iterator result)
-{
- memcpy(&*result, &*first, last - first);
-}
-
-template<>
-void
-ice_copy(std::vector<Ice::Byte>::const_iterator first, std::vector<Ice::Byte>::const_iterator last,
- std::string::iterator result)
-{
- memcpy(&*result, &*first, last - first);
-}
-
-#endif
-
using namespace std;
using namespace Ice;
using namespace IceInternal;