Curly brace string formatting for C++