{"id":6404,"date":"2022-07-11T02:47:16","date_gmt":"2022-07-11T02:47:16","guid":{"rendered":"https:\/\/www.modernescpp.com\/index.php\/c-core-guidelines-explained-best-practices-for-modern-c\/"},"modified":"2022-07-11T02:47:16","modified_gmt":"2022-07-11T02:47:16","slug":"c-core-guidelines-explained-best-practices-for-modern-c","status":"publish","type":"post","link":"https:\/\/www.modernescpp.com\/index.php\/c-core-guidelines-explained-best-practices-for-modern-c\/","title":{"rendered":"C++ Core Guidelines Explained: Best Practices for Modern C++"},"content":{"rendered":"<p>I give away five vouchers for my book &#8220;C++ Core Guidelines Explained: Best Practices for Modern C++&#8221;. In return, I have a question about modern C++. Which feature in C++11\/14\/17 is the most influential for you 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-6401\" src=\"https:\/\/www.modernescpp.com\/wp-content\/uploads\/2022\/07\/CppCoreGuidelines.jpg\" alt=\"cover\" width=\"300\" height=\"391\" style=\"display: block; margin-left: auto; margin-right: auto;\" srcset=\"https:\/\/www.modernescpp.com\/wp-content\/uploads\/2022\/07\/CppCoreGuidelines.jpg 648w, https:\/\/www.modernescpp.com\/wp-content\/uploads\/2022\/07\/CppCoreGuidelines-230x300.jpg 230w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>First, here is what you can expect from my book:<\/strong><\/p>\n<p>C++ expert instructor Rainer Grimm offers accessible, practical coverage of the Core Guidelines that offer the most value to students learning the C++ programming language. Offering new insights, indispensable context, and proven C++17 examples drawn from his courses and seminars, Grimm helps students get more value from the guidelines.<\/p>\n<p>Grimm\u2019s wide-ranging coverage addresses C++ programming philosophy, interfaces, functions, classes, class hierarchies, enumerations, resource management, expressions, statements, performance, concurrency, error handling, constants, immutability, templates, generic programming, C-style programming, source files, the Standard Library, and more. Each section links to the original standard online, and wherever appropriate, Grimm previews advances from C++20 and C++23. With Grimm&#8217;s Help, students can use the C++ Core Guidelines to write C++ code that&#8217;s more consistent, robust, and well-performing.<\/p>\n<p><strong>Second, what Bjarne Stroustrup and Herb Sutter say about my book:<\/strong><\/p>\n<div>\n<div>&nbsp;<img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6402\" src=\"https:\/\/www.modernescpp.com\/wp-content\/uploads\/2022\/07\/Sutter_Stroustrup_quote.jpg\" alt=\"Sutter Stroustrup quote\" width=\"400\" height=\"210\" style=\"display: block; margin-left: auto; margin-right: auto;\" srcset=\"https:\/\/www.modernescpp.com\/wp-content\/uploads\/2022\/07\/Sutter_Stroustrup_quote.jpg 1200w, https:\/\/www.modernescpp.com\/wp-content\/uploads\/2022\/07\/Sutter_Stroustrup_quote-300x158.jpg 300w, https:\/\/www.modernescpp.com\/wp-content\/uploads\/2022\/07\/Sutter_Stroustrup_quote-1024x538.jpg 1024w, https:\/\/www.modernescpp.com\/wp-content\/uploads\/2022\/07\/Sutter_Stroustrup_quote-768x403.jpg 768w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/div>\n<div>&nbsp;<\/div>\n<div><strong>How can you win a voucher of the book:&nbsp;<\/strong>This is simple. I want to know, which feature of C++11\/14\/17 is the most influential for you and why? The five best answers will get the coupon. I will present your answers in an upcoming post, including your name if you like.<\/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 25th of July 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>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Modernes C++,<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6403\" src=\"https:\/\/www.modernescpp.com\/wp-content\/uploads\/2022\/07\/RainerGrimmDunkelBlauSmall.jpg\" alt=\"RainerGrimmDunkelBlauSmall\" width=\"222\" height=\"67\" \/><br \/>&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++ Core Guidelines Explained: Best Practices for Modern C++&#8221;. In return, I have a question about modern C++. Which feature in C++11\/14\/17 is the most influential for you and why?<\/p>\n","protected":false},"author":21,"featured_media":6401,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[360],"tags":[],"class_list":["post-6404","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\/6404","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=6404"}],"version-history":[{"count":0,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/posts\/6404\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/media\/6401"}],"wp:attachment":[{"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/media?parent=6404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/categories?post=6404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.modernescpp.com\/index.php\/wp-json\/wp\/v2\/tags?post=6404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}