Modified C++ code-gen to create default constructors for all non-string primitives...
authorMarc Slemko <marc@apache.org>
Tue, 15 Aug 2006 21:29:39 +0000 (21:29 +0000)
committerMarc Slemko <marc@apache.org>
Tue, 15 Aug 2006 21:29:39 +0000 (21:29 +0000)
commitbf4fd1996323e104b79532587b5dd392d92a83fa
tree082cf658715252813f2bc7af2429009dffd3614c
parentaeb36f840b617237dc2bac357ddcc83f19b76949
Modified C++ code-gen to create default constructors for all non-string primitives so that auto variable instances of structs aren't populated with
garbage.  This matters because, given thrift's loosey-goosey argument and result lists, structs may only be sparsely filled.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664757 13f79535-47bb-0310-9956-ffa450edef68
compiler/src/cpp_generator.py
compiler/src/parser.py
test/ThriftTest.thrift
test/cpp/Makefile
test/cpp/src/TestClient.cc
test/cpp/src/TestServer.cc