It's a realization of tracer idiom and it's application to std::string
tracer.tcc - is the tracer. tcc because the file comprises definitions of variables and noninline functions
test.cpp - simple tracer test for std::string
calc5.cpp - example from boost::spirit documentation modified for using with tracer. It counts operations on symbols during string parsing.