资源描述:
《[计算机科学经典著作]modern c design gene(addison wesley)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ModernC++Design:GenericProgrammingandDesignPatternsAppliedByAndreiAlexandrescuPublisher:AddisonWesleyPubDate:February01,2001ISBN:0-201-70431-5TableofPages:352ContentsModernC++Designisanimportantbook.Fundamentally,itdemonstrates'genericpatterns'or'patternte
2、mplates'asapowerfulnewwayofcreatingextensibledesignsinC++--anewwaytocombinetemplatesandpatternsthatyoumayneverhavedreamtwaspossible,butis.IfyourworkinvolvesC++designandcoding,youshouldreadthisbook.Highlyrecommended.-HerbSutterWhat'slefttosayaboutC++thathas
3、n'talreadybeensaid?Plenty,itturnsout.-FromtheForewordbyJohnVlissidesInModernC++Design,AndreiAlexandrescuopensnewvistasforC++programmers.Displayingextraordinarycreativityandprogrammingvirtuosity,Alexandrescuoffersacutting-edgeapproachtodesignthatunitesdesig
4、npatterns,genericprogramming,andC++,enablingprogrammerstoachieveexpressive,flexible,andhighlyreusablecode.Thisbookintroducestheconceptofgenericcomponents-reusabledesigntemplatesthatproduceboilerplatecodeforcompilerconsumption-allwithinC++.Genericcomponents
5、enableaneasierandmoreseamlesstransitionfromdesigntoapplicationcode,generatecodethatbetterexpressestheoriginaldesignintention,andsupportthereuseofdesignstructureswithminimalrecoding.TheauthordescribesthespecificC++techniquesandfeaturesthatareusedinbuildingg
6、enericcomponentsandgoesontoimplementindustrialstrengthgenericcomponentsforreal-worldapplications.RecurringissuesthatC++developersfaceintheirday-to-dayactivityarediscussedindepthandimplementedinagenericway.Theseinclude:TE•Policy-baseddesignforflexibilityA•P
7、artialtemplatespecialization•Typelists-powerfultypemanipulationstructuresM•PatternssuchasVisitor,Singleton,Command,andFactories•Multi-methodenginesFLForeachgenericcomponent,thebookpresentsthefundamentalproblemsanddesignoptions,andfinallyimplementsagenerics
8、olution.YInaddition,anaccompanyingWebsite,http://www.awl.com/cseng/titles/0-201-70431-5,makesthecodeimplementationsavailableforthegenericcomponentsinthebookandprovidesafree,downloadableC++library,calledLoki,c