ISO/IEC TR 19768-2007 信息技术.编程语言.关于C++库扩展的技术报告
作者:标准资料网 时间:2024-05-21 03:03:44 浏览:9662
来源:标准资料网
下载地址: 点击此处下载
【英文标准名称】:Informationtechnology-Programminglanguages-TechnicalReportonC++LibraryExtensions
【原文标准名称】:信息技术.编程语言.关于C++库扩展的技术报告
【标准号】:ISO/IECTR19768-2007
【标准状态】:现行
【国别】:国际
【发布日期】:2007-11-01
【实施或试行日期】:
【发布单位】:国际标准化组织(IX-ISO)
【起草单位】:ISO/IECJTC1/SC22
【标准类型】:()
【标准水平】:()
【中文主题词】:C(程序设计语言);计算机程序;数据处理;膨胀(变形);信息技术;图书馆;程序设计;程序设计语言
【英文主题词】:C(programminglanguage);Computerprograms;Dataprocessing;Expansion(deformation);Informationtechnology;Libraries;Programming;Programminglanguages
【摘要】:1ThisTechnicalReportdescribesextensionstotheC++standardlibrarythatisdescribedintheInternationalStandardfortheC++programminglanguage[14].2ThisTechnicalReportisnon-normative.SomeofthelibrarycomponentsinthisTechnicalReportmaybeconsideredforstandardizationinafutureversionofC++,buttheyarenotcurrentlypartofanyC++standard.SomeofthecomponentsinthisTechnicalReportmayneverbestandardized,andothersmaybestandardizedinasubstantiallychangedform.3ThegoalofthisTechnicalReportistobuildmorewidespreadexistingpracticeforanexpandedC++standardlibrary.Itgivesadviceonextensionstothosevendorswhowishtoprovidethem.1.1RelationtoC++StandardLibraryIntroduction[tr.description]1Unlessotherwisespecified,thewholeoftheISOC++StandardLibraryintroduction[lib.library]isincludedinthisTechnicalReportbyreference.1.2Categoriesofextensions[tr.intro.ext]1ThisTechnicalReportdescribesfourgeneralcategoriesoflibraryextensions:1.Newrequirementtables,suchastheregularexpressiontraitsrequirementsin7.2.Thesearenotdirectlyexpressedassoftware;theyspecifythecircumstancesunderwhichuser-writtencomponentswillinteroperatewiththecomponentsdescribedinthisTechnicalReport.2.Newlibrarycomponents(typesandfunctions)thataredeclaredinentirelynewheaders,suchastheclasstemplatesintheheader(6.3.4.1).3.Newlibrarycomponentsdeclaredasadditionstoexistingstandardheaders,suchasthemathematicalspecialfunctionsaddedtotheheadersandin5.2.1and5.2.24.Additionstostandardlibrarycomponents,suchastheextensionstoclassstd::pairin6.1.4.2Newheadersaredistinguishedfromextensionstoexistingheadersbythetitleofthesynopsisclause.Inthefirstcase,thetitleisoftheform“Headersynopsis”,andthesynopsisincludesallnamespacescopedeclarationscontainedintheheader.Inthesecondcase,thetitleisoftheform“Additionstoheadersynopsis”andthesynopsisincludesonlytheextensions,i.e.thosenamespacescopedeclarationsthatarenotpresentintheC++standard[14].1.3Namespacesandheaders[tr.intro.namespaces]1SincetheextensionsdescribedinthisTechnicalReportarenotpartoftheC++standardlibrary,theyshouldnotbedeclareddirectlywithinnamespacestd.Unlessotherwisespecifed,allcomponentsdescribedinthisTechnicalReportaredeclaredinnamespacestd::tr1.[Note:Somecomponentsaredeclaredinsubnamespacesofnamespacestd::tr1.—endnote]2Unlessotherwisespecified,referencestootherentitiesdescribedinthisTechnicalReportareassumedtobequalifiedwithstd::tr1::,andreferencestoentitiesdescribedintheInternationalStandardareassumedtobequalifiedwithstd::.3Evenwhenanextensionisspecifiedasadditionstostandardheaders(thethirdcategoryin1.2),vendorsshouldnotsimplyadddeclarationstostandardheadersinawaythatwouldbevisibletousersbydefault.[Note:Thatwouldfailtobestandardconforming,becausethenewnames,evenwithinanamespace,couldconflictwithusermacros.—endnote]Usersshouldberequiredtotakeexplicitactiontohaveaccesstolibraryextensions.4Itisrecommendedeitherthatadditionaldeclarationsinstandardheadersbeprotectedwithamacrothatisnotdefinedbydefault,orelsethatallextendedheaders,includingbothnewheadersandparallelversionsofstandardheaderswithnon-standarddeclarations,beplacedinaseparatedirectorythatisnotpartofthedefaultsearchpath.
【中国标准分类号】:L74
【国际标准分类号】:35_060
【页数】:200P.;A4
【正文语种】:英语
【原文标准名称】:信息技术.编程语言.关于C++库扩展的技术报告
【标准号】:ISO/IECTR19768-2007
【标准状态】:现行
【国别】:国际
【发布日期】:2007-11-01
【实施或试行日期】:
【发布单位】:国际标准化组织(IX-ISO)
【起草单位】:ISO/IECJTC1/SC22
【标准类型】:()
【标准水平】:()
【中文主题词】:C(程序设计语言);计算机程序;数据处理;膨胀(变形);信息技术;图书馆;程序设计;程序设计语言
【英文主题词】:C(programminglanguage);Computerprograms;Dataprocessing;Expansion(deformation);Informationtechnology;Libraries;Programming;Programminglanguages
【摘要】:1ThisTechnicalReportdescribesextensionstotheC++standardlibrarythatisdescribedintheInternationalStandardfortheC++programminglanguage[14].2ThisTechnicalReportisnon-normative.SomeofthelibrarycomponentsinthisTechnicalReportmaybeconsideredforstandardizationinafutureversionofC++,buttheyarenotcurrentlypartofanyC++standard.SomeofthecomponentsinthisTechnicalReportmayneverbestandardized,andothersmaybestandardizedinasubstantiallychangedform.3ThegoalofthisTechnicalReportistobuildmorewidespreadexistingpracticeforanexpandedC++standardlibrary.Itgivesadviceonextensionstothosevendorswhowishtoprovidethem.1.1RelationtoC++StandardLibraryIntroduction[tr.description]1Unlessotherwisespecified,thewholeoftheISOC++StandardLibraryintroduction[lib.library]isincludedinthisTechnicalReportbyreference.1.2Categoriesofextensions[tr.intro.ext]1ThisTechnicalReportdescribesfourgeneralcategoriesoflibraryextensions:1.Newrequirementtables,suchastheregularexpressiontraitsrequirementsin7.2.Thesearenotdirectlyexpressedassoftware;theyspecifythecircumstancesunderwhichuser-writtencomponentswillinteroperatewiththecomponentsdescribedinthisTechnicalReport.2.Newlibrarycomponents(typesandfunctions)thataredeclaredinentirelynewheaders,suchastheclasstemplatesintheheader(6.3.4.1).3.Newlibrarycomponentsdeclaredasadditionstoexistingstandardheaders,suchasthemathematicalspecialfunctionsaddedtotheheadersandin5.2.1and5.2.24.Additionstostandardlibrarycomponents,suchastheextensionstoclassstd::pairin6.1.4.2Newheadersaredistinguishedfromextensionstoexistingheadersbythetitleofthesynopsisclause.Inthefirstcase,thetitleisoftheform“Headersynopsis”,andthesynopsisincludesallnamespacescopedeclarationscontainedintheheader.Inthesecondcase,thetitleisoftheform“Additionstoheadersynopsis”andthesynopsisincludesonlytheextensions,i.e.thosenamespacescopedeclarationsthatarenotpresentintheC++standard[14].1.3Namespacesandheaders[tr.intro.namespaces]1SincetheextensionsdescribedinthisTechnicalReportarenotpartoftheC++standardlibrary,theyshouldnotbedeclareddirectlywithinnamespacestd.Unlessotherwisespecifed,allcomponentsdescribedinthisTechnicalReportaredeclaredinnamespacestd::tr1.[Note:Somecomponentsaredeclaredinsubnamespacesofnamespacestd::tr1.—endnote]2Unlessotherwisespecified,referencestootherentitiesdescribedinthisTechnicalReportareassumedtobequalifiedwithstd::tr1::,andreferencestoentitiesdescribedintheInternationalStandardareassumedtobequalifiedwithstd::.3Evenwhenanextensionisspecifiedasadditionstostandardheaders(thethirdcategoryin1.2),vendorsshouldnotsimplyadddeclarationstostandardheadersinawaythatwouldbevisibletousersbydefault.[Note:Thatwouldfailtobestandardconforming,becausethenewnames,evenwithinanamespace,couldconflictwithusermacros.—endnote]Usersshouldberequiredtotakeexplicitactiontohaveaccesstolibraryextensions.4Itisrecommendedeitherthatadditionaldeclarationsinstandardheadersbeprotectedwithamacrothatisnotdefinedbydefault,orelsethatallextendedheaders,includingbothnewheadersandparallelversionsofstandardheaderswithnon-standarddeclarations,beplacedinaseparatedirectorythatisnotpartofthedefaultsearchpath.
【中国标准分类号】:L74
【国际标准分类号】:35_060
【页数】:200P.;A4
【正文语种】:英语
下载地址: 点击此处下载