Function as_local_datetime

Summary

#include <toml/value.hpp>

(1) local_datetime const  & as_local_datetime(const std::nothrow_t &) const &noexcept

(2) local_datetime & as_local_datetime(const std::nothrow_t &) &noexcept

(3) local_datetime && as_local_datetime(const std::nothrow_t &) &&noexcept

(4) local_datetime const  & as_local_datetime() const &

(5) local_datetime & as_local_datetime() &

(6) local_datetime && as_local_datetime() &&

Function overload

Synopsis

#include <toml/value.hpp>

local_datetime const  & as_local_datetime(const std::nothrow_t &) const &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1215-1215 in toml/value.hpp.

local_datetime  const& as_local_datetime (const std::nothrow_t&) const& noexcept {return this->local_datetime_;}

Synopsis

#include <toml/value.hpp>

local_datetime & as_local_datetime(const std::nothrow_t &) &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1226-1226 in toml/value.hpp.

local_datetime & as_local_datetime (const std::nothrow_t&) & noexcept {return this->local_datetime_;}

Synopsis

#include <toml/value.hpp>

local_datetime && as_local_datetime(const std::nothrow_t &) &&noexcept

Description

No description yet.

Mentioned in

Source

Lines 1237-1237 in toml/value.hpp.

local_datetime && as_local_datetime (const std::nothrow_t&) && noexcept {return std::move(this->local_datetime_);}

Synopsis

#include <toml/value.hpp>

local_datetime const  & as_local_datetime() const &

Description

No description yet.

Mentioned in

Source

Lines 1293-1301 in toml/value.hpp.

local_datetime const& as_local_datetime() const&
{
    if(this->type_ != value_t::local_datetime)
    {
        detail::throw_bad_cast<value_t::local_datetime>(
                "toml::value::as_local_datetime(): ", this->type_, *this);
    }
    return this->local_datetime_;
}

Synopsis

#include <toml/value.hpp>

local_datetime & as_local_datetime() &

Description

No description yet.

Mentioned in

Source

Lines 1387-1395 in toml/value.hpp.

local_datetime & as_local_datetime() &
{
    if(this->type_ != value_t::local_datetime)
    {
        detail::throw_bad_cast<value_t::local_datetime>(
                "toml::value::as_local_datetime(): ", this->type_, *this);
    }
    return this->local_datetime_;
}

Synopsis

#include <toml/value.hpp>

local_datetime && as_local_datetime() &&

Description

No description yet.

Mentioned in

Source

Lines 1482-1490 in toml/value.hpp.

local_datetime && as_local_datetime() &&
{
    if(this->type_ != value_t::local_datetime)
    {
        detail::throw_bad_cast<value_t::local_datetime>(
                "toml::value::as_local_datetime(): ", this->type_, *this);
    }
    return std::move(this->local_datetime_);
}





Add Discussion as Guest

Log in