In javascript
I can format a string using template string
const cnt = 12;
console.log(`Total count: ${cnt}`);
if I work with python
I can use the f-string
:
age = 4 * 10
f'My age is {age}'
But, if I working with C++(17)
what is the best solution to do this (if it is possible)?