aboutsummaryrefslogtreecommitdiffstats
path: root/src/typeAdapter.hpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-10-25 11:15:53 +0000
committerVincent Richard <[email protected]>2004-10-25 11:15:53 +0000
commitc433e0213aeec09dd5b0b5d8ecac45e675854485 (patch)
treeb814c7dd98ff8c80ecef219ae09ed903ff088e73 /src/typeAdapter.hpp
parentadded tests for getFieldCount, isEmpty, getFieldAt, getFieldList functions (diff)
downloadvmime-c433e0213aeec09dd5b0b5d8ecac45e675854485.tar.gz
vmime-c433e0213aeec09dd5b0b5d8ecac45e675854485.zip
Added specialization for typeAdapter <string>::parse() as it took only the first word of the text (operator<<).
Diffstat (limited to 'src/typeAdapter.hpp')
-rw-r--r--src/typeAdapter.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/typeAdapter.hpp b/src/typeAdapter.hpp
index 1e67ab33..6405b108 100644
--- a/src/typeAdapter.hpp
+++ b/src/typeAdapter.hpp
@@ -113,6 +113,11 @@ private:
};
+template <>
+void typeAdapter <string>::parse(const string& buffer, const string::size_type position,
+ const string::size_type end, string::size_type* newPosition);
+
+
} // vmime