New issue
Advanced search Search tips

Issue 632970 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature



Sign in to add a comment

Implement optional::reset() and optional::has_value()

Project Member Reported by mlamouri@chromium.org, Jul 30 2016

Issue description

They have been added to the C++ standard and they would be quite useful :)
 
Labels: M-54
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 10 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/26204579039ff5d59d3c3a2cfde3e0b5cf9f96b5

commit 26204579039ff5d59d3c3a2cfde3e0b5cf9f96b5
Author: mlamouri <mlamouri@chromium.org>
Date: Wed Aug 10 12:24:15 2016

Implement Optional::has_value() and Optional::reset().

BUG= 632970 

Review-Url: https://codereview.chromium.org/2198673002
Cr-Commit-Position: refs/heads/master@{#411026}

[modify] https://crrev.com/26204579039ff5d59d3c3a2cfde3e0b5cf9f96b5/base/optional.h
[modify] https://crrev.com/26204579039ff5d59d3c3a2cfde3e0b5cf9f96b5/base/optional_unittest.cc

Status: Fixed (was: Assigned)

Sign in to add a comment