this post was submitted on 22 May 2025
5 points (85.7% liked)

C++

2007 readers
4 users here now

The center for all discussion and news regarding C++.

Rules

founded 2 years ago
MODERATORS
top 4 comments
sorted by: hot top controversial new old
[–] bunitor@lemmy.eco.br 1 points 5 days ago

honest question: what's the point of this? how is this better than std::ranges::to?

[–] lambalicious@lemmy.sdf.org 1 points 5 days ago (1 children)

Newlines! \n! Do you speak them????

[–] bitcrafter@programming.dev 3 points 5 days ago (1 children)

Hey, now, we have to conserve \ns where we can so there are enough left for the compiler to be able to print a multi-page error message after you make a typo when attempting to use this new feature!

[–] lambalicious@lemmy.sdf.org 1 points 3 days ago

Just print 10 \t's in a row. Everyone knows terminals are 80 characters wide! :p