资源描述:
《Modern C++ Design - Generic Programming And Design Patters Applied (2001)(2nd)(Andrei Alexandrescu)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ModernC++Design:GenericProgrammingandDesignPatternsAppliedByAndreiAlexandrescuPublisher:AddisonWesleyPubDate:February01,2001ISBN:0-201-70431-5TableofPages:352ContentsModernC++Designisanimportantbook.Fundamentally,itdemonstrates'genericpatterns'or'patterntem
2、plates'asapowerfulnewwayofcreatingextensibledesignsinC++--anewwaytocombinetemplatesandpatternsthatyoumayneverhavedreamtwaspossible,butis.IfyourworkinvolvesC++designandcoding,youshouldreadthisbook.Highlyrecommended.-HerbSutterWhat'slefttosayaboutC++thathasn'
3、talreadybeensaid?Plenty,itturnsout.-FromtheForewordbyJohnVlissidesInModernC++Design,AndreiAlexandrescuopensnewvistasforC++programmers.Displayingextraordinarycreativityandprogrammingvirtuosity,Alexandrescuoffersacutting-edgeapproachtodesignthatunitesdesignpa
4、tterns,genericprogramming,andC++,enablingprogrammerstoachieveexpressive,flexible,andhighlyreusablecode.Thisbookintroducestheconceptofgenericcomponents-reusabledesigntemplatesthatproduceboilerplatecodeforcompilerconsumption-allwithinC++.Genericcomponentsenab
5、leaneasierandmoreseamlesstransitionfromdesigntoapplicationcode,generatecodethatbetterexpressestheoriginaldesignintention,andsupportthereuseofdesignstructureswithminimalrecoding.TheauthordescribesthespecificC++techniquesandfeaturesthatareusedinbuildinggeneri
6、ccomponentsandgoesontoimplementindustrialstrengthgenericcomponentsforreal-worldapplications.RecurringissuesthatC++developersfaceintheirday-to-dayactivityarediscussedindepthandimplementedinagenericway.Theseinclude:TE•Policy-baseddesignforflexibilityA•Partial
7、templatespecialization•Typelists-powerfultypemanipulationstructuresM•PatternssuchasVisitor,Singleton,Command,andFactories•Multi-methodenginesFLForeachgenericcomponent,thebookpresentsthefundamentalproblemsanddesignoptions,andfinallyimplementsagenericsolution
8、.YInaddition,anaccompanyingWebsite,http://www.awl.com/cseng/titles/0-201-70431-5,makesthecodeimplementationsavailableforthegenericcomponentsinthebookandprovidesafree,downloadableC++library,calledLoki,c