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

By Peter Van Weert, Marc Gregoire

This speedy reference is a condensed reference consultant to the basic info buildings, algorithms, and capabilities supplied by way of the C++ ordinary Library. extra particularly, this can be a compact number of crucial periods and capabilities, utilized by C++ programmers each day. The C++ ordinary Library quickly Reference positive factors middle sessions for strings, I/O streams, and numerous primary packing containers, in addition to a accomplished set of algorithms to govern them. in recent times, the C++11 and C++14 criteria have additional much more effective box periods, a brand new strong average expression library, and a conveyable multithreading library that includes threads, mutexes, variables, and atomic variables. remember the fact that, it truly is demanding to grasp and have in mind the entire probabilities, info, and intricacies of this immense and transforming into library. this convenient reference consultant is accordingly imperative to any C++ programmer. It bargains a condensed, well-structured precis of all crucial points of the C++ commonplace Library, together with all aforementioned performance. No page-long, repetitive examples or vague, hardly used beneficial properties. as an alternative, every little thing you must recognize and beware of in perform is printed in a compact, to-the-point variety, interspersed with well-chosen, clarifying examples. The e-book doesn't clarify the C++ language or syntax, yet is available to a person with easy C++ wisdom. Even the main skilled C++ programmer even though will research something or from it and locate it an invaluable memory-aid.

Show description

Read Online or Download C++ Standard Library Quick Reference PDF

Similar object-oriented software design books

Objects First with Java: A Practical Introduction Using BlueJ

BlueJ is a Java improvement atmosphere that runs on best of the sunlight Microsystems Java improvement equipment utilizing the normal compiler and digital computer. It permits readers to create gadgets of any classification and have interaction with their tools. For the 1st time, the generally tricky innovations of items and sessions are introduced alive in an simply manipulable visible shape.

EJB Design Patterns: Advanced Patterns, Processes, and Idioms

In truth, the e-book isn't a nasty e-book, it provides an engaging but difficult subject, how one can layout EJB (or in a broader feel, J2EE software) utilizing layout styles. notwithstanding, this booklet has a wide intersection with center J2EE styles, which not just comprises extra styles (on all layers), but additionally is written in a extra transparent and complete approach.

Object-oriented and Classical Software Engineering

This ebook special the various tools of attacking software program layout and introduces UML diagrams, statecharts, and association. a superb e-book in the event you might be operating within the box facing the constitution and strategies that actual company' use for software program layout.

Extra resources for C++ Standard Library Quick Reference

Sample text

The idiom’s first ingredient is a so-called forwarding or universal reference: a T&& parameter, with T a template type parameter. Without it, template argument deduction removes all references: for ugly_fwd(); both A& and A&& become A. With a forwarding reference, A& and A&& are deduced, respectively: that is, even though the forwarding reference looks like T&&, if passed A&, A& is deduced and not A&&. Still, using a forwarding reference alone is not enough, as shown with bad_fwd(). When using the named variable t as is, it binds with an lvalue function parameter (all named variables do), even if its type is deduced as A&&.

Operator+, -, ~, ! Applies unary operations to each element. Returns a new valarray with the result (operator! returns valarray). operator+=, -=, *=, /=, %=, &=, |=, ^=, <<=, >>= Applies these operations to each element. Input is either ‘const T&’ or an equally long ‘const valarray&’. In the latter case, the operator is piecewise applied. swap() Swaps two valarrays. size() resize(n,val=T()) Returns or changes the number of elements. When resizing, you can specify the value to assign to new elements; they are zero-initialized by default.

Knuth_b equals shuffle_order_engine. • mt19937 / mt19937_64 are mersenne_twister_engines generating uint_fast32_t / uint_fast64_t numbers. • ranlux24_base / ranlux48_base are rarely used standalone (see the next bullet) but are subtract_with_carry_engines that generate uint_fast32_t / uint_fast64_t numbers. • ranlux24 / ranlux48 are ranlux24_base / ranlux48_base engines adapted by a discard_block_engine. ■■Tip Because choosing between all the previous predefined engines can be daunting, an implementation must also offer a std::default_random_engine that should be good enough for most applications (it may be a typedef for one of the others).

Download PDF sample

Rated 4.50 of 5 – based on 43 votes

About the Author