Download C++ Standard Library Quick Reference by Peter Van Weert, Marc Gregoire PDF

By Peter Van Weert, Marc Gregoire

This fast reference is a condensed reference advisor to the basic information buildings, algorithms, and features supplied via the C++ normal Library. extra in particular, it is a compact number of crucial sessions and features, utilized by C++ programmers each day. The C++ typical Library speedy Reference positive aspects middle sessions for strings, I/O streams, and numerous known packing containers, in addition to a accomplished set of algorithms to control them. lately, the C++11 and C++14 criteria have extra much more effective box periods, a brand new strong ordinary expression library, and a conveyable multithreading library that includes threads, mutexes, situation variables, and atomic variables. keep in mind that, it truly is demanding to understand and take into account the entire chances, information, and intricacies of this gigantic and starting to be library. this useful reference advisor is hence crucial to any C++ programmer. It bargains a condensed, well-structured precis of all crucial features of the C++ commonplace Library, together with all aforementioned performance. No page-long, repetitive examples or imprecise, hardly ever used gains. in its place, every thing you want to be aware of and beware of in perform is printed in a compact, to-the-point variety, interspersed with well-chosen, clarifying examples. The ebook doesn't clarify the C++ language or syntax, yet is out there to somebody with simple C++ wisdom. Even the main skilled C++ programmer notwithstanding will examine something or from it and locate it an invaluable memory-aid.

Show description

Read or Download C++ Standard Library Quick Reference PDF

Best object-oriented software design books

Java Extreme Programming Cookbook

I'm going to hold this brief, on the grounds that i don't believe i will say something now not already stated. yet I simply felt like sharing that I enjoyed this publication.

Object Databases in Practice

Myths approximately object-oriented databases are rampant. This ebook debunks them, so database directors and executives could make educated judgements concerning the expertise. This publication provides entire assurance of the "pros and cons" of object-oriented databases, aiding managers and directors come to a decision even if to enforce this robust know-how.

Java Network Programming, Third Edition

The hot 3rd variation of this very hot creation to Java networking programming has been completely revised to hide the entire a hundred+ major updates to Java builders equipment (JDK) 1. five. it's a transparent, whole advent to constructing community courses (both applets and functions) utilizing Java, protecting every little thing from networking basics to distant procedure invocation (RMI).

C++ Standard Library Quick Reference

This speedy reference is a condensed reference consultant to the basic information buildings, algorithms, and features supplied through the C++ common Library. extra particularly, this can be a compact selection of crucial periods and capabilities, utilized by C++ programmers each day. The C++ ordinary Library fast Reference good points center sessions for strings, I/O streams, and diverse regularly occurring bins, in addition to a complete set of algorithms to govern them.

Additional info for C++ Standard Library Quick Reference

Example text

X] captures all variables from the enclosing scope by value except x, which is captured by reference. • [&, x,y] captures all variables by reference except x and y, which are captured by value. • [this] captures the this pointer, granting the body access to all members of the surrounding object. Parameters: Parameters to be passed when calling the functor. Omitting is equivalent to specifying an empty list (). The type of parameters may be auto. mutable: By default, the function call operator of a lambda functor is always marked as const, implying that variables captured by value—that is, copied in member variables—cannot be modified (assigned to, non-const members called, and so on).

Still, because they are also the fastest generators, these engines should be your default choice if size is of no concern. • std::subtract_with_carry_engine: Although an improvement over the linear congruential engines in terms of quality (but not speed), these engines have much lower quality and performance than a Mersenne twister. Their state size is more moderate, though (generally 96 bytes). info Chapter 1 ■ Numerics and Math All these engines provide a constructor that accepts an optional seed to initialize the engine.

Info CHAPTER 2 ■ GENERAL UTILITIES ■ Tip A lesser-known feature of std::ref(), cref(), and their return type reference_wrapper, seen earlier, is that they can also be used to wrap callables. Unlike a std::function, though, which stores a copy of the callable, a reference_wrapper stores a reference to it. This is useful when passing a functor you do not want to be copied—for example, because it is too large (performance), stateful, or simply uncopyable—to an algorithm that accepts it or may pass it around by value.

Download PDF sample

Rated 4.74 of 5 – based on 39 votes