Effective Modern C++(改善C++11和C++14的42個具體做法

Effective Modern C++(改善C++11和C++14的42個具體做法 下載 mobi epub pdf 電子書 2024


簡體網頁||繁體網頁
[美] 邁耶斯 編



點擊這裡下載
    


想要找書就要到 圖書大百科
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

發表於2024-05-20

類似圖書 點擊查看全場最低價

圖書介紹

店鋪: 博庫網旗艦店
齣版社: 東南大學
ISBN:9787564159115
商品編碼:11754430657
開本:16
齣版時間:2015-09-01


相關圖書





圖書描述

基本信息

  • 商品名稱:Effective Modern C++(改善C++11和C++14的42個具體做法
  • 作者:(美)邁耶斯
  • 定價:62
  • 齣版社:東南大學
  • ISBN號:9787564159115

其他參考信息(以實物為準)

  • 齣版時間:2015-09-01
  • 印刷時間:2015-09-01
  • 版次:1
  • 印次:1
  • 開本:16開
  • 包裝:平裝
  • 頁數:315
  • 字數:411韆字

內容提要

理解C++11和C++14可不隻是熟悉它們引入的特性 (例如,auto類型聲明、移動語義、lambda錶達式和 並行計算支持)這麼簡單。挑戰在於學習如何高效應用 這些特性——讓你的軟件正確、有效、易於維護和可 移植。這就是這本具有很強實踐性的書籍的目的所在 。本書描述瞭如何使用C++11和C++14編寫真正偉大的 軟件——使用現代C++。
     《Effective Modern C++(改善C++11和C++14的 42個具體做法影印版)(英文版)》遵循久經考驗、基 於規則和實例驅動的邁耶斯早期書籍的樣式,但編寫 瞭全新的內容。對於每位現代C++軟件的開發者而言, 本書都是必讀書籍。
    

作者簡介

邁耶斯,Scott Meyers,二十多年來,Scott Meyers的Effetive C++係列書籍(包括《Effective C++》《More Effective C++》和《Effective STL》)為C++編程語言指導書籍設定瞭高標準。他對復雜技術資料的清楚且引人八勝的解釋為他在全世界範圍內贏得瞭擁躉,使他成為炙手可熱的培訓師、顧問和會議演講者。他擁有布朗大學的計算機科學博士學位。

目錄

From the Publisher
Acknowledgments
Introduction
1.Deducing Types
Item 1: Understand template type deduction.
Item 2: Understand auto type deduction.
Item 3: Understand decltype.
Item 4: Know how to view deduced types.
2.auto
Item 5: Prefer auto to explicit type declarations.
Item 6: Use the explicitly typed initializer idiom when auto deduces undesired types.
3.Moving to Modern C++
Item 7: Distinguish between ( ) and {} when creating objects.
Item 8: Prefer nullptr to 0 and NULL.
Item 9: Prefer alias declarations to typedefs.
Item 10: Prefer scoped enums to unscoped enuns.
Item 11: Prefer deleted functions to private undefined ones.
Item 12: Declare overriding functions overri.de.
Item 13: Prefer const_iterators to iterators.
Item 14: Declare functions noexcept ifthey won't emit exceptions.
Item 15: Use constexpr whenever possible.
Item 16: Make const member functions thread safe.
Item 17: Understand special member function generation.
4.Smart Pointers
Item 18: Use std: : unique_ptr for exclusive-ownership resource management.
Item 19: Use std: : shared_ptr for shared-ownership resource management.
Item 20: Use std : :weak_ptr for std : : shared_ptr-like pointers that can dangle.
Item 21: Prefer std : :make_unique and std : :make_shared to direct use of new.
Item 22: When using the Pimpl Idiom, define special member functions in the implementation file.
5.Rvalue References, Move Semantics, and Perfect Forwarding
Item 23: Understand std : : move and std : : forward.
Item 24: Distinguish universal references from rvalue references.
Item 25: Use std : : move on rvalue references, std : : forward on universal references.
Item 26: Avoid overloading on universal references.
Item 27: Familiarize yourself with alternatives to overloading on universal references.
Item 28: Understand reference collapsing.
Item 29: Assume that move operations are not present, not cheap, and not used.
Item 30: Familiarize yourself with perfect forwarding failure cases.
6.Lambda Expressions
Item 31: Avoid default capture modes.
Item 32: Use init capture to move objects into closures.
Item 33: Use decltype on auto&& parameters to std: :forward them.
Item 34: Prefer lambdas to std : : bind.
7.The Concurrency API
Item 35: Prefer task-based programming to thread-based.
Item 36: Specify std: :launch: :async ifasynchronicityis essential.
Item 37: Make std : : threads unjoinable on all paths.
Item 38: Be aware of varying thread handle destructor behavior.
Item 39: Consider voi_d futures for one-shot event communication.
Item 40: Use std : : atoni.c for concurrency, volatile for special memory.
8.Tweaks
Item 41: Consider pass by value for copyable parameters that are cheap to move and always copied.
Item 42: Consider emplacement instead of insertion.
Index


Effective Modern C++(改善C++11和C++14的42個具體做法 下載 mobi epub pdf txt 電子書 格式

Effective Modern C++(改善C++11和C++14的42個具體做法 mobi 下載 pdf 下載 pub 下載 txt 電子書 下載 2024

Effective Modern C++(改善C++11和C++14的42個具體做法 下載 mobi pdf epub txt 電子書 格式 2024

Effective Modern C++(改善C++11和C++14的42個具體做法 下載 mobi epub pdf 電子書
想要找書就要到 圖書大百科
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

用戶評價

評分

評分

評分

評分

評分

評分

評分

評分

評分

類似圖書 點擊查看全場最低價

Effective Modern C++(改善C++11和C++14的42個具體做法 mobi epub pdf txt 電子書 格式下載 2024


分享鏈接




相關圖書


本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

友情鏈接

© 2024 book.qciss.net All Rights Reserved. 圖書大百科 版權所有