سؤال

I have seen code like this:

struct failed_login_res {
     string errorMsg<>;
     unsigned int error;
};

What does the <> at the end mean? How is it different from normal declaration like string errorMsg?

Correction: this is for RPC stub, not C++ and I can confirm that it does compile. The question is then still valid.

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top