/[Apache-SVN]
ViewVC logotype

Revision 1005138


Jump to revision: Previous Next
Author: dreiss
Date: Wed Oct 6 17:10:00 2010 UTC (14 years, 1 month ago)
Changed paths: 5
Log Message:
THRIFT-922. cpp: Update C++ generator to emit templatized code

When the "templates" option is passed to the C++ generator, it now emits
templatized versions of the client and processor.  Generated types emit
templatized read() and write() functions.

This allows the generated code to invoke the correct non-virtual
TTransport and TProtocol implementations, resulting in faster
serialization and deserialization.

Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/protocol/TProtocol.h modified , text changed
Directoryincubator/thrift/trunk/test/cpp/Thrift-test.mk modified , text changed
Directoryincubator/thrift/trunk/test/cpp/src/TestClient.cpp modified , text changed
Directoryincubator/thrift/trunk/test/cpp/src/TestServer.cpp modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26