this post was submitted on 11 Mar 2026
90 points (96.9% liked)

C++

2253 readers
14 users here now

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

Rules

founded 2 years ago
MODERATORS
 

Any std::valarray users represent?

top 7 comments
sorted by: hot top controversial new old
[–] the_artic_one@piefed.social 8 points 3 weeks ago (1 children)

It's been forever since I've written C++ at a place that didn't have their own version of STL where they used different names for everything.

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

Hey, gotta love MyCompany::Vector!

[–] the_artic_one@piefed.social 7 points 3 weeks ago* (last edited 3 weeks ago)

You mean MyCompany::Array, not using the word "vector" has gotta be their primary reason for changing all the names.

[–] ulterno@programming.dev 5 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I use C++ regularly and never used the 3.
Saw std::valarray in some code once, but never used it myself.

I tend to avoid boost as much as I can.

[–] lambalicious@lemmy.sdf.org 2 points 2 weeks ago

Same, tend to avoid Boost wherever I can. Or at least, avoid most of their utilities. Boost.Config standalone seems to serve some good purposes, and there are like 3 or 4 tools that are in Boost that also function properly standalone (most notably, Boost.Nowide).

[–] Avicenna@programming.dev 2 points 2 weeks ago (1 children)
[–] lambalicious@lemmy.sdf.org 1 points 2 weeks ago

Danke! Always useful to have the reference.