Is it possible to format strings in C++ like python’s f-strings?
C++ doesn’t have reflection. As a result, it is impossible to offer a reference to a variable by its name. But as @NicolBolas points out, even if reflection was present, there would be more needed. Not only would it require huge language support (telling the called function what the variables were in the calling scope), … Read more