Tag Archives: spirit
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
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
Late GCC versions implemented active evaluation which evaluates some code in older boost libraries those are never evaluated. Thus it causes errors. The patch below shows an example of fixing them for spirit 1.8.5.
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
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