root42 on Nostr: TIL that you can use ' to group digits in C++…? Since when is that a thing? int i = ...
TIL that you can use ' to group digits in C++…? Since when is that a thing?
int i = 1'000'000;
Published at
2024-10-02 08:54:03Event JSON
{
"id": "3e7fdea22c8aa9f24ba811eb33ad85c675bb1d83a92252d7f75608c8c051701e",
"pubkey": "9a9a4aa0e43e57873380ab22e8a3df12f3c4cf5bb3a804c6e3fed0069a6e2740",
"created_at": 1727859243,
"kind": 1,
"tags": [
[
"proxy",
"https://chaos.social/users/root42/statuses/113236983397794022",
"activitypub"
]
],
"content": "TIL that you can use ' to group digits in C++…? Since when is that a thing?\nint i = 1'000'000;",
"sig": "cef460daf30c321d232694c898f77f2c28d2a9fbf6fd9f43648555b0f7cdc92b491043338c6ce257c1a1e117567a2bc3dedff6390cd591c27a163ef51359f79f"
}