Tag Archives: boost

Boost Fusion Adapt.Struct Part 2 – A Complete Example

The fusion example cpp and hpp files below build with boost 1.47.0 g++ 4.6.3/4.5.1 (and boost 1.51.0, g++ 4..4.6). It is a complete example derived from my earlier explorative examples. The reason we have this code is discussed in my … Continue reading

Posted in All, C/C++, Methods, Software | Tagged , , , , | Leave a comment

Boost Fusion and Fusion.Adapt.Struct Example

The fusion example cpp files below build with boost 1.47.0 g++ 4.6.3 (and boost 1.35.0, g++ 4..4.6). Refer to my earlier C++ reflection post for further details. (A example of boost struct serializer, and the more generic example behind it). … Continue reading

Posted in All, C/C++, Methods, Software | Tagged , , , , | 2 Comments

JSON Data Exchange Format for Improved Software Development Productivity

Software productivity after all is about making the job simple for programmers. For one, the data exchanged between software components should be human-readable, machine readable, and automatically generated and consumed. XML once was supposed to take that role. Unfortunately XML … Continue reading

Posted in All, C/C++, Methods, Tools | Tagged , , , , , , , | Leave a comment

Self-Identified Type of Data in C++ Using Json-Spirit

Due to the lack of reflection in C++, the type of a data container (e.g. a variable or object) usually needs to be determined by the programmer who writes the code at design/coding time. Template is a way of parameterize … Continue reading

Posted in All, C/C++, Methods, Tools | Tagged , , , , , | 1 Comment