const char* or const(char)* when porting C headers?

Alexandr Druzhinin drug2004 at bk.ru
Sat Dec 21 20:06:04 PST 2013


22.12.2013 07:47, Gary Willoughby пишет:
> When porting C headers which include function declarations with using
> char* types. Is it best to use const char* or const(char)* as the type
> in the D declaration?
C vs D
const char* == const(char)*
const char const* == const char*


More information about the Digitalmars-d-learn mailing list