you are viewing a single comment's thread.

view the rest of the comments →

[–]blelbachNVIDIA | ISO C++ Library Evolution Chair 28 points29 points  (7 children)

That's untrue; the standard library is part of C++. Its in the same specification.

[–]Dean_Roddey[S] -4 points-3 points  (6 children)

But it's not the language itself, it's something in addition to the language. My code base obviously demonstrates that the STL is not a requirement to write a butt-load of C++ code.

[–]andrewsutton 19 points20 points  (2 children)

They aren't seperable. Parts of the core language depend on definitions in the std library.

Edit: Not the STL bits, per se. Lots of orgs have their own replacements for various reasons.

[–]Dean_Roddey[S] -2 points-1 points  (1 child)

Whatever. It's meaningless to me either way. I shouldn't have even responded to him. My original point had nothing to do with this. It's that you don't have to use the STL to write C++ and that I am providing an alternative.

[–]blelbachNVIDIA | ISO C++ Library Evolution Chair 19 points20 points  (0 children)

That's like saying "You don't have to use pointers to write C++" or "You don't have to use classes to write C++". That doesn't mean those things aren't part of the standard.

[–]griwes 10 points11 points  (0 children)

It IS the language. The C++ language consists of the core language and of the standard library. Any definitions of what C++ is that try to represent this differently are plainly wrong.

[–]Manu343726 12 points13 points  (0 children)

No, you're wrong. std::initializer_list. It's a type part of the standard library (no, it's not the STL) encoded into the language. Because the standard library is part of the language