[omniORB-dev] Remove unnecessary null pointer checks
Markus Elfring
Markus.Elfring at web.de
Mon Nov 6 14:28:14 UTC 2023
>> I guess that more questionable code can be transformed
>> if smart pointers can also be applied instead.
>>
>> Would you like to take the C++ guideline “R.11: Avoid calling new
>> and delete explicitly” better into account?
>> https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#r11-avoid-calling-new-and-delete-explicitly
>
> omniORB is an implementation of the CORBA C++ mapping standard:
>
> https://www.omg.org/spec/CPP/1.3
>
> The standard is very old, and predates standard C++.
Can we benefit more from the application of recent C++ standard versions?
> It _requires_ use of new and delete in many places.
Will the usage of corresponding expressions be adjusted by the means of smart pointers?
Regards,
Markus
More information about the omniORB-dev
mailing list