Is using nullptr (instead of NULL) valid in an Inventor Addin?
(I'm trying to drag myself into the second decade of the 21st century)
Hi,
What you are doing outside the Inventor API function calls is up to you and I don't think it matters. And when calling Inventor API functions then if it compiles and works OK, then it's OK. 🙂
Not sure which Inventor API function is accepting NULL as input where you would pass nullptr instead. Do you have one in mind?
And again, Inventor API is COM, so if a COM API function call can handle nullptr as input param value instead of NULL, then the Inventor one should be OK with it as well.
Cheers,
I think I'm still in ObjectARX mode where the C++ code is much more closely intertwined with AutoCAD.
It could well be that my question makes no sense in COM + Inventor, as you suggest...!