C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Calling methods on a nullptr

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 29 Oct 2024 10:38:12 -0700
On Tuesday 29 October 2024 10:00:21 Pacific Daylight Time mauro russo via Std-
Proposals wrote:
> Maybe the proposal is only to push the compiler to automatically apply a
> check != nullptr before invoking methods

Why? And what would they do if it is nullptr?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2024-10-29 17:38:17