What is the correct way to use C23’s nullptr in place of NULL?
I’ve been playing around with C23’s new features and I came across nullptr
, and I’d like to use it in place of NULL
where possible, or at least in demo code to better understand proper usage.
What is the correct way to use C23’s nullptr in place of NULL checks?
I’ve been playing around with C23’s new features and I came across nullptr
, and I’d like to use it in place of NULL
where possible, or at least in demo code to better understand proper usage.