Function as_local_time

Summary

#include <toml/value.hpp>

(1) local_time const  & as_local_time(const std::nothrow_t &) const &noexcept

(2) local_time & as_local_time(const std::nothrow_t &) &noexcept

(3) local_time && as_local_time(const std::nothrow_t &) &&noexcept

(4) local_time const  & as_local_time() const &

(5) local_time & as_local_time() &

(6) local_time && as_local_time() &&

Function overload

Synopsis

#include <toml/value.hpp>

local_time const  & as_local_time(const std::nothrow_t &) const &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1217-1217 in toml/value.hpp.

local_time      const& as_local_time     (const std::nothrow_t&) const& noexcept {return this->local_time_;}

Synopsis

#include <toml/value.hpp>

local_time & as_local_time(const std::nothrow_t &) &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1228-1228 in toml/value.hpp.

local_time     & as_local_time     (const std::nothrow_t&) & noexcept {return this->local_time_;}

Synopsis

#include <toml/value.hpp>

local_time && as_local_time(const std::nothrow_t &) &&noexcept

Description

No description yet.

Mentioned in

Source

Lines 1239-1239 in toml/value.hpp.

local_time     && as_local_time     (const std::nothrow_t&) && noexcept {return std::move(this->local_time_);}

Synopsis

#include <toml/value.hpp>

local_time const  & as_local_time() const &

Description

No description yet.

Mentioned in

Source

Lines 1311-1319 in toml/value.hpp.

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

Synopsis

#include <toml/value.hpp>

local_time & as_local_time() &

Description

No description yet.

Mentioned in

Source

Lines 1405-1413 in toml/value.hpp.

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

Synopsis

#include <toml/value.hpp>

local_time && as_local_time() &&

Description

No description yet.

Mentioned in

Source

Lines 1500-1508 in toml/value.hpp.

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





Add Discussion as Guest

Log in