Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

IDL NULL and empty strings in C++

Strings in IDL interfaces are never NULL pointers. Strings in IDL are never absent or omitted by being NULL because they cannot be–they either have a value or they are the empty string.

An empty string is a valid pointer to a buffer with a single byte of value 0 ("" is an empty string).