qualifiers

Is there any downside to redundant qualifiers? Any benefit?

For example, referencing something as System.Data.Datagrid as opposed to just Datagrid. Please provide examples and explanation. Thanks. ...

Qualifiers for printf on WinCE

On WinCE, when using printf, what are the qualifiers for various data types - short, unsigned long etc. For short and ulong, I know the answers are %hd & %lu, I am actually looking for a MSDN site that lists all data types and their qualifiers on CE. Unfortunately I cannot find the site now. I have already looked at this post, but it d...

WMI GetPropertyQualifierValue "Not found"

My question is really simple, but apparently nobody's experienced a similar error. I'm writing a program to check if a WMI Class's property is writeable, that is, if the "Write" qualifier is true for that property. My code looks like this: ManagementObjectSearcher mos = new ManagementObjectSearcher("root\\\CIMV2", "SELECT * FROM " + "W...

const-ness as template argument

I have two structs: // ----- non-const ----- struct arg_adapter { EArgType type; // fmtA, fmtB, ... union { TypeA * valueA; TypeB * valueB; // ... more types } arg_adapter(TypeA & value) : type(fmtA), valueA(&value) {} arg_adapter(TypeB & value) : type(fmtB), valueB(&v...

c++ qualifier error

Hi All, I have begun writing some code for a library I need. The following code gives me an error class node { public: node() { } node(const node&); ~node() { } luint getID() { return this->ID; } node& operator=(const node&); protected: luint ID; std::vector<node*> neighbors; }; node::node( const node& inNod...