Closed elfring closed 2 months ago
you are perfectly right. However, not all compilers for all platforms support that.
Did you measure a huge bottleneck from those IFs?
However, not all compilers for all platforms support that.
Would you like to point any tools out which are not compliant to the C++ standard according to the linked implementation detail?
:thought_balloon: Would you become interested to use a development tool like “clang-tidy” for corresponding source code adjustments?
Would you like to point any tools out which are not compliant to the C++ standard according to the linked implementation detail?
Probably old compilers.
Would you become interested to use a development tool like “clang-tidy” for corresponding source code adjustments
This aspect will be considered in the future. Probably when moving to smart pointers.
Probably old compilers.
Probably when moving to smart pointers.
:thought_balloon: I would find it helpful if redundant pointer checks could be deleted before occasionally.
Would you dare to restrict development support on C++ standard compliant tools?
Not now.
:crystal_ball: Do you need any configuration checks for incompliant tools (by the software build system)?
No, thank you.
:crystal_ball: In which time range do you plan to work more with smart pointers?
Why?
:thought_balloon: Smart pointers can also help to get rid of redundant pointer checks, can't they?
done
See also (for example): https://github.com/cnr-isti-vclab/piccante/commit/b225648800a84ecce396d7408583934a6c3cdf0f
could you be more specific, please?
:eyes: You adjusted several source code places (according to a requested transformation pattern) on 2024-08-22.
An extra null pointer check is not needed in functions like the following.