...它们被用来执行 隐式类型转换 (implicit type conversions),虽然他们还可以被用于显示类型转换(explicit type conversions):
基于24个网页-相关网页
typeof能被用在任何需要引用类型名的情况下,比如你可以用在声明、显示类型转换(cast)或是在sizeof和typeof内使用。
A typeof-construct can be used anywhere a typedef name could be used. For example, you can use it in a declaration, in a cast, or inside of sizeof or typeof.
wsadmin 工具将不同的管理命令返回类型转换为字符串格式,这意味着所有的管理命令结果将以字符串格式显示。
The wsadmin tool will convert different admin command return types to string format, which means all admin command results will be displayed in string format.
列表2显示了当这个项目已经被打开时如何转换它的存取类型。
Listing 2 shows how to switch the type of access when the project is already open.
应用推荐