Modern C++ Programming Cookbook
C++hascomealongwaytobeoneofthemostwidelyusedgeneral-purposelanguagesthatisfast,efficient,andhigh-performanceatitscore.TheupdatedsecondeditionofModernC++ProgrammingCookbookaddressesthelatestfeaturesofC++20,suchasmodules,concepts,coroutines,andthemanyadditionstothestandardlibrary,includingrangesandtextformatting.Thebookisorganizedintheformofpracticalrecipescoveringawiderangeofproblemsfacedbymoderndevelopers.ThebookalsodelvesintothedetailsofallthecoreconceptsinmodernC++programming,suchasfunctionsandclasses,iteratorsandalgorithms,streamsandthefilesystem,threadingandconcurrency,smartpointersandmovesemantics,andmanyothers.Itgoesintotheperformanceaspectsofprogrammingindepth,teachingdevelopershowtowritefastandleancodewiththehelpofbestpractices.Furthermore,thebookexploresusefulpatternsanddelvesintotheimplementationofmanyidioms,includingpimpl,namedparameter,andattorney-client,teachingtechniquessuchasavoidingrepetitionwiththefactorypattern.Thereisalsoachapterdedicatedtounittesting,whereyouareintroducedtothreeofthemostwidelyusedlibrariesforC++:Boost.Test,GoogleTest,andCatch2.Bytheendofthebook,youwillbeabletoeffectivelyleveragethefeaturesandtechniquesofC++11/14/17/20programmingtoenhancetheperformance,scalability,andefficiencyofyourapplications.
·15.1萬字