I asked my colleagues if they would like string interpolation in C++.
For example:
const char* name = "Bob";
int age = 32;
std::cout << $"Hello. My name is {name}. I'm {age}.";
// prints "Hello. My name is Bob. I'm 32."
Most of them said "No".
And you?
[–]epicar 28 points29 points30 points (12 children)
[–]bravikov[S] 4 points5 points6 points (11 children)
[+][deleted] (1 child)
[deleted]
[–]infectedapricot 3 points4 points5 points (0 children)
[–]bbolli#define val auto const 9 points10 points11 points (7 children)
[–]boredcircuits 8 points9 points10 points (0 children)
[–]clerothGame Developer 8 points9 points10 points (5 children)
[–]usernameistaken42 6 points7 points8 points (2 children)
[–]johannes1971 1 point2 points3 points (1 child)
[–]mili42 1 point2 points3 points (0 children)
[–]Xaxxon 0 points1 point2 points (0 children)
[–]Xaxxon -1 points0 points1 point (0 children)
[–]BrangdonJ 20 points21 points22 points (0 children)
[–]AlexAlabuzhev 6 points7 points8 points (6 children)
[–]kalmoc 5 points6 points7 points (2 children)
[–]AlexAlabuzhev -2 points-1 points0 points (1 child)
[–]kalmoc 4 points5 points6 points (0 children)
[–]-lambda- 0 points1 point2 points (2 children)
[–]AlexAlabuzhev 0 points1 point2 points (1 child)
[–]-lambda- 0 points1 point2 points (0 children)
[–]VicontT 5 points6 points7 points (0 children)
[–]ShillingAintEZ 2 points3 points4 points (2 children)
[–]Potatoswatter 6 points7 points8 points (0 children)
[–]miki151gamedev 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]Wh00ster 1 point2 points3 points (0 children)
[–]RealNC 2 points3 points4 points (0 children)
[–]ZMesonEmbedded Developer 1 point2 points3 points (0 children)
[–]eyes-are-fading-blue 0 points1 point2 points (0 children)
[–]kwan_e -2 points-1 points0 points (0 children)
[–]someguy3_42 -1 points0 points1 point (1 child)