In source code files that shall use autosprintf, add
#include "autosprintf.h" using gnu::autosprintf;
The include file defines the class autosprintf, in a namespace called
gnu. The ‘using’ statement makes it possible to use the class
without the (otherwise natural) gnu:: prefix.