Browse Wiki & Semantic Web

Jump to: navigation, search
Http://dbpedia.org/resource/Typename
  This page has no properties.
hide properties that link here 
  No properties link to this page.
 
http://dbpedia.org/resource/Typename
http://dbpedia.org/ontology/abstract "<b>typename</b>"是一个C++程序设计语言中"<b>typename</b>"是一个C++程序设计语言中的关键字。当用于泛型编程时是另一术语"class"的同义词。在第一版 ISO 标准完成之前的原始 C++ 编译器中,typename关键字还不是 C++ 语言的一部分,当时Bjarne Stroustrup (页面存档备份,存于互联网档案馆)使用class关键字作为模板参数。现在typename是首选关键字,但较旧的源代码可能仍会看到使用class关键字(例如,参见 Bjarne Stroustrup 于 1994 年出版的《The Design and Evolution of C++》与 Bjarne Stroustrup 于 2013 年出版的《The C++ Programming Language: Four Edition》中的源代码示例之间的差异)。这个关键字用于指出模板(或定义)中的(dependent names)是类型名,而非变量名。以下是对于泛型编程中typename两种迥然不同的用法的解释。是类型名,而非变量名。以下是对于泛型编程中typename两种迥然不同的用法的解释。 , "typename" is a keyword in the C++ program"typename" is a keyword in the C++ programming language used when writing templates. It is used for specifying that a dependent name in a template definition or declaration is a type. In the original C++ compilers before the first ISO standard was completed, the typename keyword was not part of the C++ language and Bjarne Stroustrup used the class keyword for template arguments instead. While typename is now the preferred keyword, older source code may still use the class keyword instead (for example see the difference in source code examples between The Design and Evolution of C++ by Bjarne Stroustrup published in 1994 and the source code examples in The C++ Programming Language: Fourth Edition by Bjarne Stroustrup published in 2013).n by Bjarne Stroustrup published in 2013).
http://dbpedia.org/ontology/wikiPageID 25311457
http://dbpedia.org/ontology/wikiPageLength 6142
http://dbpedia.org/ontology/wikiPageRevisionID 1073913206
http://dbpedia.org/ontology/wikiPageWikiLink http://dbpedia.org/resource/Bjarne_Stroustrup + , http://dbpedia.org/resource/Programming_language + , http://dbpedia.org/resource/Parameter_%28computer_science%29 + , http://dbpedia.org/resource/Category:C%2B%2B + , http://dbpedia.org/resource/C%2B%2B + , http://dbpedia.org/resource/Generic_programming + , http://dbpedia.org/resource/Argument-dependent_name_lookup + , http://dbpedia.org/resource/Keyword_%28computer_programming%29 + , http://dbpedia.org/resource/Template_%28programming%29 + , http://dbpedia.org/resource/Pointer_%28computer_programming%29 + , http://dbpedia.org/resource/Static_variable + , http://dbpedia.org/resource/Enumerated_type + , http://dbpedia.org/resource/C%2B%2B_standard + , http://dbpedia.org/resource/Typedef +
http://dbpedia.org/property/wikiPageUsesTemplate http://dbpedia.org/resource/Template:Reflist + , http://dbpedia.org/resource/Template:Use_MDY_dates + , http://dbpedia.org/resource/Template:Short_description + , http://dbpedia.org/resource/Template:Use_American_English + , http://dbpedia.org/resource/Template:Lowercase +
http://purl.org/dc/terms/subject http://dbpedia.org/resource/Category:C%2B%2B +
http://purl.org/linguistics/gold/hypernym http://dbpedia.org/resource/Keyword +
http://www.w3.org/ns/prov#wasDerivedFrom http://en.wikipedia.org/wiki/Typename?oldid=1073913206&ns=0 +
http://xmlns.com/foaf/0.1/isPrimaryTopicOf http://en.wikipedia.org/wiki/Typename +
owl:sameAs http://dbpedia.org/resource/Typename + , https://global.dbpedia.org/id/4wWk8 + , http://rdf.freebase.com/ns/m.09gjpmn + , http://zh.dbpedia.org/resource/Typename + , http://www.wikidata.org/entity/Q7860934 +
rdf:type http://dbpedia.org/ontology/Company +
rdfs:comment "<b>typename</b>"是一个C++程序设计语言中"<b>typename</b>"是一个C++程序设计语言中的关键字。当用于泛型编程时是另一术语"class"的同义词。在第一版 ISO 标准完成之前的原始 C++ 编译器中,typename关键字还不是 C++ 语言的一部分,当时Bjarne Stroustrup (页面存档备份,存于互联网档案馆)使用class关键字作为模板参数。现在typename是首选关键字,但较旧的源代码可能仍会看到使用class关键字(例如,参见 Bjarne Stroustrup 于 1994 年出版的《The Design and Evolution of C++》与 Bjarne Stroustrup 于 2013 年出版的《The C++ Programming Language: Four Edition》中的源代码示例之间的差异)。这个关键字用于指出模板(或定义)中的(dependent names)是类型名,而非变量名。以下是对于泛型编程中typename两种迥然不同的用法的解释。是类型名,而非变量名。以下是对于泛型编程中typename两种迥然不同的用法的解释。 , "typename" is a keyword in the C++ program"typename" is a keyword in the C++ programming language used when writing templates. It is used for specifying that a dependent name in a template definition or declaration is a type. In the original C++ compilers before the first ISO standard was completed, the typename keyword was not part of the C++ language and Bjarne Stroustrup used the class keyword for template arguments instead. While typename is now the preferred keyword, older source code may still use the class keyword instead (for example see the difference in source code examples between The Design and Evolution of C++ by Bjarne Stroustrup published in 1994 and the source code examples in The C++ Programming Language: Fourth Edition by Bjarne Stroustrup published in 2013).n by Bjarne Stroustrup published in 2013).
rdfs:label Typename
hide properties that link here 
http://dbpedia.org/resource/Concepts_%28C%2B%2B%29 + , http://dbpedia.org/resource/Type_name + http://dbpedia.org/ontology/wikiPageWikiLink
http://dbpedia.org/resource/Tatra_T5 + http://purl.org/linguistics/gold/hypernym
http://en.wikipedia.org/wiki/Typename + http://xmlns.com/foaf/0.1/primaryTopic
http://dbpedia.org/resource/Typename + owl:sameAs
 

 

Enter the name of the page to start semantic browsing from.