资源描述:
《C++ Template Metaprogramming - Concepts, Tools, And Techniques From Boost And Beyond (2004)(1st)(David Abrahams, Aleksey Gurtovoy)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、1C++TemplateMetaprogramming:Concepts,Tools,andTechniquesfromBoostandBeyondByDavidAbrahams,AlekseyGurtovoyPublisher:AddisonWesleyProfessionalPubDate:December10,2004ISBN:0-321-22725-5Pages:400"Ifyou'relikeme,you'reexcitedbywhatpeopledowithtemplatemetaprogramming(TMP)butaref
2、rustratedatthelackofclearguidanceandpowerfultools.Well,thisisthebookwe'vebeenwaitingfor.WithhelpfromtheexcellentBoostMetaprogrammingLibrary,DavidandAlekseytakeTMPfromthelaboratorytotheworkplacewithreadableproseandpracticalexamples,showingthat"compile-timeSTL"isasableasits
3、runtimecounterpart.Servingasatutorialaswellasahandbookforexperts,thisisthebookonC++templatemetaprogramming."ChuckAllison,Editor,TheC++SourceC++TemplateMetaprogrammingshedslightonthemostpowerfulidiomsoftoday'sC++,atlonglastdeliveringpracticalmetaprogrammingtoolsandtechniqu
4、esintothehandsoftheeverydayprogrammer.Ametaprogramisaprogramthatgeneratesormanipulatesprogramcode.EversincegenericprogrammingwasintroducedtoC++,programmershavediscoveredmyriad"templatetricks"formanipulatingprogramsastheyarecompiled,effectivelyeliminatingthebarrierbetweenp
5、rogramandmetaprogram.WhileexcitementamongC++expertsaboutthesecapabilitieshasreachedthecommunityatlarge,theirpracticalapplicationremainsoutofreachformostprogrammers.Thisbookexplainswhatmetaprogrammingisandhowitisbestused.Itprovidesthefoundationyou'llneedtousethetemplatemet
6、aprogrammingeffectivelyinyourownwork.ThisbookisaimedatanyprogrammerwhoiscomfortablewithidiomsoftheStandardTemplateLibrary(STL).C++power-userswillgainanewinsightintotheirexistingworkandanewfluencyinthedomainofmetaprogramming.Intermediate-levelprogrammerswhohavelearnedafewa
7、dvancedtemplatetechniqueswillseewherethesetricksfitinthebigpictureandwillgaintheconceptualfoundationtousethemwithdiscipline.Programmerswhohavecaughtthescentofmetaprogramming,butforwhomitisstillmysterious,willfinallygainaclearunderstandingofhow,when,andwhyitworks.Allreader
8、swillleavewithanewtoolofunprecedentedpowerattheirdisposaltheBoostMetaprogrammingLibrary.Thecompa