このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


全世界の 機能(する)/行事s in Namespace sal in Sourcefile types.h
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


全世界の 機能(する)/行事s in Namespace sal
in Sourcefile types.h


static_int_cast

template< typename T1, typename T2 >


T1 static_int_cast(
T2 n );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO YES NO YES NO

要約
A static_cast between integral types, to 避ける C++ compiler 警告s.

Description
   In C++ source code, use sal::static_int_cast<T>(n) instead of
   static_cast<T>(n) whenever a compiler 警告 about integral type problems
   shall be silenced.  That way, source code that needs to be 修正するd when the
   type of any of the 表現s 伴う/関わるd in the compiler 警告 is changed
   can be 設立する more easily.

   Both template arguments T1 and T2 must be integral types.

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.