MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / optional

Method optional

include/dmlc/optional.h:46–46  ·  view source on GitHub ↗

! \brief construct an optional object that contains no value */

Source from the content-addressed store, hash-verified

44 public:
45 /*! \brief construct an optional object that contains no value */
46 optional() : is_none(true) {}
47 /*! \brief construct an optional object with value */
48 explicit optional(const T& value) {
49#pragma GCC diagnostic push

Callers

nothing calls this directly

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected