Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Upgrade: dmlc::optional<T> constructors and value() function #20560

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on Sep 1, 2021

  1. Upgrade: dmlc::optional<T> ctors

    1. Constructs an object that does contain a nullopt value.
         optional(dmlc::nullopt_t) noexcept : is_none(true) {}
    2. constructs an optional object that contains a value, initialized as if direct-initializing:
        template <typename U, typename... Args>
    3. move constructor: If other contains a value, then stored value is direct-intialized with it.
         optional(optional &&other) noexcept() { }
    4. move constructor: constructs the stored value with value with `other`parameter.
        optional(U &&other) noexcept {
    5. (...)
    Upgrade: dmlc::optional<T> value
    1. T &value() &
    2. const T &value() const &
    3. T &&value() &
    4. const T && value() const &&nter the commit message for your changes. Lines starting
    mozga-intel committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    ed94ab4 View commit details
    Browse the repository at this point in the history
  2. Tuple.h update

    mozga-intel committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    a7dc50b View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. Configuration menu
    Copy the full SHA
    dd36c90 View commit details
    Browse the repository at this point in the history
  2. Set default value

    mozga-intel committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    f00b40a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6dce172 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2021

  1. Configuration menu
    Copy the full SHA
    577ce58 View commit details
    Browse the repository at this point in the history
  2. Zero initialization

    mozga-intel committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    f1860d6 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2021

  1. Configuration menu
    Copy the full SHA
    3abb766 View commit details
    Browse the repository at this point in the history
  2. DMLC update commit

    mozga-intel committed Sep 6, 2021
    Configuration menu
    Copy the full SHA
    16899b6 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. Configuration menu
    Copy the full SHA
    682a459 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34d1115 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. Configuration menu
    Copy the full SHA
    3c2398c View commit details
    Browse the repository at this point in the history