Function option

Summary

#include <include/cpptoml.h>

(1) option()

(2) option(T value)

Function overload

Synopsis

#include <include/cpptoml.h>

option()

Description

No description yet.

Source

Lines 62-65 in include/cpptoml.h.

option() : empty_{true}
{
    // nothing
}

Synopsis

#include <include/cpptoml.h>

option(T value)

Description

No description yet.

Source

Lines 67-70 in include/cpptoml.h.

option(T value) : empty_{false}, value_(std::move(value))
{
    // nothing
}





Add Discussion as Guest

Log in