{"id":6062,"date":"2021-01-02T07:05:14","date_gmt":"2021-01-02T07:05:14","guid":{"rendered":"https:\/\/www.modernescpp.com\/index.php\/five-vouchers-to-win-for-the-book-the-modern-c-programming-cookbook\/"},"modified":"2021-01-02T07:05:14","modified_gmt":"2021-01-02T07:05:14","slug":"five-vouchers-to-win-for-the-book-the-modern-c-programming-cookbook","status":"publish","type":"post","link":"https:\/\/www.modernescpp.com\/index.php\/five-vouchers-to-win-for-the-book-the-modern-c-programming-cookbook\/","title":{"rendered":"Five Vouchers to win for my book &#8220;C++20&#8221;"},"content":{"rendered":"<p>I give away five vouchers for my book &#8220;C++20&#8221;. In return, I have a question about the Big Four: concepts, ranges, coroutines, and modules. Which feature excites your most and why?<\/p>\n<p><!--more--><\/p>\n<p><a href=\"https:\/\/leanpub.com\/c20\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-5264\" src=\"https:\/\/www.modernescpp.com\/wp-content\/uploads\/2017\/05\/cover.png\" alt=\"cover\" width=\"400\" height=\"559\" style=\"display: block; margin-left: auto; margin-right: auto;\" \/><\/a><\/p>\n<p>Here is a short presentation of my book.&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div>\n<p style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: 400; font-style: normal; font-size: 13px; font-family: Helvetica, Arial, sans-serif; vertical-align: baseline; line-height: 1.5; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0; color: #000000; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; background-color: #ffffff;\">My book C++20 is both: a tutorial and a reference to the C++20 standard. It teaches you C++20 and provides you with the details of this new thrilling C++ standard. The thrilling factor is mainly due to the big four of C++20.<\/p>\n<ul style=\"margin: 1.05rem 0px 1.5rem 1.88rem; padding: 0px; border: 0px; outline: 0px; font-weight: 400; font-style: normal; font-size: 13px; font-family: Helvetica, Arial, sans-serif; vertical-align: baseline; list-style: outside disc; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0; color: #000000; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; background-color: #ffffff;\">\n<li style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; list-style: disc;\"><strong style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: bold; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;\">Concepts<\/strong> change the way we think and program templates. They are semantic categories for the template parameters. They enable you to express your intention directly in the type system. If something goes wrong, you get a clear error message.<\/li>\n<li style=\"margin: 0.375rem 0px 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; list-style: disc;\">The new <strong style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: bold; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;\">ranges library<\/strong> enables it to perform algorithms directly on the container, compose the algorithm with the pipe symbol, and apply them onto infinite data streams.<\/li>\n<li style=\"margin: 0.375rem 0px 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; list-style: disc;\">Thanks to <strong style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: bold; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;\">coroutines<\/strong> asynchronous programming in C++ becomes mainstream. Coroutines are the base for cooperative tasks, event loops, infinite data streams, or pipelines.<\/li>\n<li style=\"margin: 0.375rem 0px 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; list-style: disc;\"><strong style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: bold; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;\">Modules<\/strong> overcome the restrictions of header files. They promise a lot. For example, the separation of header and source files becomes as obsolete as the preprocessor. In the end, we have faster built time and an easier way to build packages.<\/li>\n<\/ul>\n<\/div>\n<div>\n<div>If you want more information about the book including the TOC, you can have it here:&nbsp;<a href=\"https:\/\/leanpub.com\/c20\">https:\/\/leanpub.com\/c20<\/a>. The book includes more than 150 code examples.<\/div>\n<div>&nbsp;<\/div>\n<div>&nbsp;<\/div>\n<div><strong>How can you win a copy of the book:&nbsp;<\/strong>This is simple. I want to know, which feature of the Big Four concepts, ranges, coroutines, and modules excites you most and why? The five best answers will get the coupon.<\/div>\n<\/div>\n<div>&nbsp;<\/div>\n<div>&nbsp;<\/div>\n<div><strong>What are the rules<\/strong>: Send your answer in English until Monday, the 15th of February to <a href=\"mailto:rainer.grimm@modernescpp.de\">Rainer.Grimm@ModernesCpp.de<\/a>.<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Please share this post. I&#8217;m curious about your answers.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Modernes C++,<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-4721\" src=\"https:\/\/www.modernescpp.com\/wp-content\/uploads\/2016\/04\/RainerGrimmSmall.png\" alt=\"RainerGrimmSmall\" width=\"222\" height=\"66\" \/>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I give away five vouchers for my book &#8220;C++20&#8221;. In return, I have a question about the Big Four: concepts, ranges, coroutines, and modules. Which feature excites your most and why?<\/p>\n","protected":false},"author":21,"featured_media":5264,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[360],"tags":[],"class_list":["post-6062","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/posts\/6062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/comments?post=6062"}],"version-history":[{"count":0,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/posts\/6062\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/media\/5264"}],"wp:attachment":[{"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/media?parent=6062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/categories?post=6062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/tags?post=6062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}