Library Additions
C++11 adds several specialized libraries. An extensible random number library, supported by the random header file, provides much more extensive and sophisticated random number facilities than rand(). For example, it offers a choice of random-number generators and a choice of distributions, including uniform (like rand()), binomial, normal, and several others.
The chrono header file supports ways to deal with time duration.
The tuple header file supports the tuple template. A tuple object is a generalization of a pair object. Whereas a pair object can hold two values whose types need not be the same, a tuple can hold an arbitrary number of items of different types.
The compile-time rational arithmetic library, supported by the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access