cpp: Use boost operators for basic mathematical operations