2 ../compiler/cpp/thrift -cpp OptionalRequiredTest.thrift
3 g++ -Wall -g -I../lib/cpp/src -I/usr/local/include/boost-1_33_1 \
4 OptionalRequiredTest.cpp gen-cpp/OptionalRequiredTest_types.cpp \
5 ../lib/cpp/.libs/libthrift.a -o OptionalRequiredTest
9 cpp_namespace thrift.test
14 3: list<map<i32,string>> im_big;
18 1: /* :) */ i16 im_default;
19 2: required i16 im_required;
20 3: optional i16 im_optional;
24 1: /* :) */ i16 im_default;
28 1: optional i16 im_optional;
32 1: required i16 im_required;
37 2: required i16 cp_required;
38 3: optional i16 cp_optional;
39 4: map<i16,Simple> the_map;
40 5: required Simple req_simp;
41 6: optional Simple opt_simp;