Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
0.2
-
None
-
None
-
Tested on debian stable (etch)
-
Patch Available
Description
We're mostly using the C++ interface to thrift, and I wanted to be
able to initialize structures more easily than a whole series of lines
that set each of the parameters separately. Attached is a patch that
adds a constructor to the C++ objects that allow you to fully
initialize an object in a single call. I added two tests for this,
one in the DebugProtoTest.cpp file, and one in the
OptionalRequiredTest.cpp. The patch is against the 20080411p1 release.