E
Egbert Nierop \(MVP for IIS\)
Example...
This would make that i can assign a ULONG to a CComBSTR2 class while the
body of the code performs necessary conversion.
CComBSTR2& operator=(ULONG ulong)
{
}
QUESTION: Can I do it the other way around as seen below?
// code below does compile but still has no effect.
ULONG& operator=(const &CComBSTR2)
{
}
This would make that i can assign a ULONG to a CComBSTR2 class while the
body of the code performs necessary conversion.
CComBSTR2& operator=(ULONG ulong)
{
}
QUESTION: Can I do it the other way around as seen below?
// code below does compile but still has no effect.
ULONG& operator=(const &CComBSTR2)
{
}