CodeBoost is a tool for source-to-source transformation and optimisation of C++ programs. It is intended to be used as a test-bed for various high-level optimisations; the traditional textbook optimisations are assumed to be handled by the C++ compiler. The CodeBoost optimiser will attempt to bridge the gap between a human-friendly coding style and current compiler/optimiser implementations. Although CodeBoost was created mainly for use with the Sophus numerical library, the transformation framework may be useful for other projects as well.