diff options
author | frsyuki <frsyuki@users.sourceforge.jp> | 2009-03-01 01:31:12 +0900 |
---|---|---|
committer | frsyuki <frsyuki@users.sourceforge.jp> | 2009-03-01 01:31:12 +0900 |
commit | a8545b49c9da6ca75374973751e519d4da0bbf20 (patch) | |
tree | a3e881964562fb54f26aa4d281f367412acb11a7 /cpp/object.hpp | |
parent | 4f2755366faef06ebf9bff17ea15e2a53ec15649 (diff) | |
download | msgpack-python-a8545b49c9da6ca75374973751e519d4da0bbf20.tar.gz |
msgpack::pack is not obsolete
Diffstat (limited to 'cpp/object.hpp')
-rw-r--r-- | cpp/object.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cpp/object.hpp b/cpp/object.hpp index 860b569..09ddb89 100644 --- a/cpp/object.hpp +++ b/cpp/object.hpp @@ -111,9 +111,6 @@ std::ostream& operator<< (std::ostream& s, const object o); template <typename Stream, typename T> -inline void pack(Stream& s, const T& v); - -template <typename Stream, typename T> packer<Stream>& operator<< (packer<Stream>& o, const T& v); template <typename T> @@ -240,13 +237,6 @@ inline void pack(packer<Stream>& o, const T& v) // obsolete template <typename Stream, typename T> -inline void pack(Stream& s, const T& v) -{ - packer<Stream>(s).pack(v); -} - -// obsolete -template <typename Stream, typename T> inline void pack_copy(packer<Stream>& o, T v) { pack(o, v); |