- | C/C++ | C++(STL/Boost) | ECMAScript 4 | D |
---|---|---|---|---|
キャスト | (type)expr | static_cast dynamic_cast |
expr cast type expr as type |
cast(type)expr |
キャストできるかどうか | - | !!dynamic_cast |
expr is type | !!cast(type)expr |
変換 | - | lexical_cast |
expr to type | - |