Search code examples
c++corbawstring

how to check if corba::WString is empty?


Searched for this everywhere and finally came here. I have a CORBA::WString_var as input parameter to my function. How do I know if it's empty?


Solution

  • I think you need to consult your ORB vendor's documentation. If your ORB maps CORBA::WChar to std::wchar_t, then you can use the techniques in this answer.