Parent Directory
|
Revision Log
|
Patch
revision 199 by ph10, Tue Jul 31 14:39:09 2007 UTC | revision 263 by ph10, Mon Nov 12 16:53:25 2007 UTC | |
---|---|---|
# | Line 48 template <class T> | Line 48 template <class T> |
48 | class _RE_MatchObject { | class _RE_MatchObject { |
49 | public: | public: |
50 | static inline bool Parse(const char* str, int n, void* dest) { | static inline bool Parse(const char* str, int n, void* dest) { |
51 | if (dest == NULL) return true; | |
52 | T* object = reinterpret_cast<T*>(dest); | T* object = reinterpret_cast<T*>(dest); |
53 | return object->ParseFrom(str, n); | return object->ParseFrom(str, n); |
54 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.5 |