Top "Standard-library" questions

The standard library contains core utilities provided by all implementations of the language.

What language are the C and C++ standard libraries written in?

C and C++ by themselves can't actually do anything, they need the libraries to work. So how were the libraries …

c++ c assembly standard-library
Why doesn't Clang come with standard library headers?

I downloaded Clang 3.6.2 from this website and am trying to set it up with Code::Blocks under Windows. Unfortunately, it …

c++ clang standard-library llvm-clang
Is there a maxheap in the C++ standard library?

I know the std::priority_queue class implements a minheap. Is there a way to use this as a Max …

c++ priority-queue c++-standard-library standard-library max-heap
Compile-time reflection in C++1z?

There is a study group in the C++ standardization committee to provide compile-time reflection in C++1z or after. I …

c++ reflection standard-library c++17
Why does the reverse() function in the Swift standard library return ReverseRandomAccessCollection?

Now that I've learned Swift (to a reasonable level) I'm trying to get to grips with the standard library, but …

arrays swift standard-library
How does memchr() work under the hood?

Background: I'm trying to create a pure D language implementation of functionality that's roughly equivalent to C's memchr but uses …

c performance d standard-library
Which functions in the C standard library commonly encourage bad practice?

This is inspired by this question and the comments on one particular answer in that I learnt that strncpy is …

c security c99 standard-library
Boost dependency for a C++ open source project?

Boost is meant to be the standard non-standard C++ library that every C++ user can use. Is it reasonable to …

c++ boost standard-library
How to flatten a list to a list without coercion?

I am trying to achieve the functionality similar to unlist, with the exception that types are not coerced to a …

list r standard-library flatten type-coercion