Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14

Coming to grips with C++11 and C++14 is more than a matter of familiarizing yourself with the features they introduce (e.g., autotype declarations, move semantics, lambda expressions, and concurrency support). The challenge is learning to use those features effectively—so that your software is correct, efficient, maintainable, and portable. That’s where this practical book comes in. It describes how to write truly great software using C++11 and C++14—i.e. using modern C++.

Topics include:

  • The pros and cons of braced initialization, noexcept specifications, perfect forwarding, and smart pointer make functions
  • The relationships among std::move, std::forward, rvalue references, and universal references
  • Techniques for writing clear, correct, effective lambda expressions
  • How std::atomic differs from volatile, how each should be used, and how they relate to C++’s concurrency API
  • How best practices in “old” C++ programming (i.e., C++98) require revision for software development in modern C++

User Reviews

Average Rating: [0]

Submit Your Review

Display Name
Email
Rate

Title

Message


 

jQuery(function(){
jQuery(“.rateit”).rateit();
jQuery(“#wpdm-user-review-form”).submit(function(){
jQuery(“#wpdm-submit-review-button”).attr(“disabled”,”disabled”).html(“ Please Wait…”);
jQuery(this).ajaxSubmit({
success:function(res){
if(!res.match(/ok/)) {
jQuery(“#wpdm-user-review-form”).append(“

“+res+”

“);
jQuery(“#wpdm-submit-review-button”).removeAttr(“disabled”).html(“ Submit Review”);
} else {
jQuery(“#wpdm-submit-review-button”).html(“ Done!”);
jQuery(“#wpdm-user-review-form”).append(“

Thanks for your comment! It will be published after review within a short time

“);
}
}
})
return false;
});
jQuery(“#wpdm-submit-reply-form”).click(function(){
jQuery(“#wpdm-submit-reply-form”).attr(“disabled”,”disabled”).html(“Please Wait…”);
jQuery(“#wpdm-user-reply-form”).ajaxSubmit({
success:function(res){
jQuery(“#wpdm-user-reply-form”).append(“

Thanks for your comment! It will be published after review within a short time

“);
jQuery(“#wpdm-submit-reply-form”).html(“Done!”);
}
})
return false;
});
jQuery(“.reply-comment”).click(function(){
jQuery(“#wpdm-reply-for”).val(this.rel);
});
});

The post Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14 appeared first on ZEbook.

Read Source: Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14»

Leave a Reply

Your email address will not be published.