17.9.3 Conversion operators

来源:王朝搜索
 
17.9.3 Conversion operators

A conversion operator declaration introduces a user-defined conversion (§13. 4), which augments

17.9.1 Unary operators

The following rules apply to unary operator declarations, where T denotes the class or struct type

17.9 Operators

An operator is a member that defines the meaning of an expression operator that can be applied to i

17.9.2 Binary operators

A binary operator must take two parameters, at least one of which must have the class or struct typ

偷窥Boost Conversion Library(一)

开门见山 废话少说 一、与多态类型相关的转换 1、 polymorphic_cast与dynamic_cast dynamic_cast可以安全地将一个指向多态对象的指针向下转换为派生类指

RFC2926 - Conversion of LDAP Schemas to and from SLP Templates

Network Working Group J. Kempf Request for Comments: 2926 Sun Microsystems, Inc. Category: Informati

偷窥Boost Conversion Library(二)

//(接上) 三、与值和类型相关的类型转换 1、 lexical_cast 在程序开发中,往往需要将数字型对象的值转换为字符文本格式,或反之操作。我们在C/C++标准程序库中可以找到这样的

14.13 Assignment operators

The assignment operators assign a new value to a variable, a property, event, or an indexer element

14.10 Logical operators

The &, ^, and | operators are called the logical operators. and-expression: equality-expression

14.9.2 Floating-point comparison operators

The predefined floating-point comparison operators are: bool operator ==(float x, float y); bool ope

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有