Assignment is deleted; optional_ref is not assignable.

Synopsis

Declared in <absl/types/optional_ref.h>

optional_ref<T>&
operator=(optional_ref<T> const& other) = delete;

Return Value

This declaration is deleted and cannot be called.

Parameters

Name

Description

other

The reference that would be assigned from.

Created with MrDocs