Skip to content

Migrate from Cpp to D

Eugene edited this page Jun 30, 2016 · 8 revisions

#####Types

C++ D Description
size_t uint (32bit), ulong (64bit) ulong for 64bit
int32_t int
#define MYINT int alias MYINT = int;
myObj == null myObj is null
myObj != null myObj !is null
(int) 4.25 cast(int) 4.25
delete someObj; destroy(someObj);
Tools
Clone this wiki locally