Buggy constructor's behavior on MT4 build 880

 

I got recent update of MT4 build 880 and MetaEditor build 1173.

I think I found a bug on class constructor's behavior.

class Cls
{
public:
        Cls(const Cls* ptr) { Print(ptr == NULL); }
};

Cls c(NULL);    // Print result is "false" because 'ptr' is a bad pointer.
 
try this:

Cls c((Cls*)NULL);    // Print result is "false" because 'ptr' is a bad pointer.
 
amir_avatar:
try this:

Thanks. The problem has been solved by Build 890 update.
Reason: