C++ Core Guidelines: Die Regeln for in, out, in-out, consume, and forward Funktionsparameter

Es gibt viele Möglichkeiten, Funktionsparameter zu übergeben. Du kannst sie kopieren oder als Referenz übergeben. Die Referenz kann konstant oder nicht-konstant sein. Du kannst deine Parameter sogar verschieben oder forward darauf anwenden. Deine Entscheidung sollte davon abhängig sein, ob der Parameter ein in, out, in-out, consume oder forward Funktionsparameter ist.

Hier geht es zum Artikel auf Heise Developer.

Thanks a lot to my Patreon Supporter: Eric Pederson.

 

Get your e-book at leanpub:

The C++ Standard Library

Concurrency With Modern C++

Get Both as one Bundle

cover ConcurrencyCoverFrame coverConcurrencyCoverFrame
With C++11 and C++14 we got a lot of new C++ libraries. In addition the existing ones are greatly improved. The key idea of my book is to give you the necessary information to the current C++ libraries in about 200 pages.

C++11 is the first C++ standard that deals with concurrency. The story goes on with C++17 and will continue with C++20.

I'll give you a detailed insight in the current and the upcoming concurrency in C++. This insight includes the theory and a lot of practice with more the 100 source files.

Get my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle.

In sum, you get more than 500 pages full of modern C++ and more than 100 source files presenting concurrency in practice.

 

Mentoring

Stay Informed about my Mentoring

 

Rezensionen

Tutorial

Besucher

Heute 445

Gestern 1599

Woche 6047

Monat 21989

Insgesamt 3320901

Aktuell sind 32 Gäste und keine Mitglieder online

Kubik-Rubik Joomla! Extensions

Abonniere den Newsletter (+ pdf Päckchen)

Beiträge-Archiv

Sourcecode

Neuste Kommentare