blog.jdboyd.net
toStr – A small C++ utility function.
This can be used as string(“bob”) + toStr(5) without declaring the type, presuming that the type can correctly be inferred by the compiler. Obviously, T must support operator