Function get

Summary

#include <include/cpptoml.h>

(1) T & get()

(2) const T & get() const

Function overload

Synopsis

#include <include/cpptoml.h>

T & get()

Description

Gets the data associated with this value.

Source

Lines 637-640 in include/cpptoml.h.

T& get()
{
    return data_;
}

Synopsis

#include <include/cpptoml.h>

const T & get() const

Description

Gets the data associated with this value. Const version.

Source

Lines 645-648 in include/cpptoml.h.

const T& get() const
{
    return data_;
}





Add Discussion as Guest

Log in