Function as_local_date

Summary

#include <toml/value.hpp>

(1) local_date const  & as_local_date(const std::nothrow_t &) const &noexcept

(2) local_date & as_local_date(const std::nothrow_t &) &noexcept

(3) local_date && as_local_date(const std::nothrow_t &) &&noexcept

(4) local_date const  & as_local_date() const &

(5) local_date & as_local_date() &

(6) local_date && as_local_date() &&

Function overload

Synopsis

#include <toml/value.hpp>

local_date const  & as_local_date(const std::nothrow_t &) const &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1216-1216 in toml/value.hpp.

local_date      const& as_local_date     (const std::nothrow_t&) const& noexcept {return this->local_date_;}

Synopsis

#include <toml/value.hpp>

local_date & as_local_date(const std::nothrow_t &) &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1227-1227 in toml/value.hpp.

local_date     & as_local_date     (const std::nothrow_t&) & noexcept {return this->local_date_;}

Synopsis

#include <toml/value.hpp>

local_date && as_local_date(const std::nothrow_t &) &&noexcept

Description

No description yet.

Mentioned in

Source

Lines 1238-1238 in toml/value.hpp.

local_date     && as_local_date     (const std::nothrow_t&) && noexcept {return std::move(this->local_date_);}

Synopsis

#include <toml/value.hpp>

local_date const  & as_local_date() const &

Description

No description yet.

Mentioned in

Source

Lines 1302-1310 in toml/value.hpp.

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

Synopsis

#include <toml/value.hpp>

local_date & as_local_date() &

Description

No description yet.

Mentioned in

Source

Lines 1396-1404 in toml/value.hpp.

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

Synopsis

#include <toml/value.hpp>

local_date && as_local_date() &&

Description

No description yet.

Mentioned in

Source

Lines 1491-1499 in toml/value.hpp.

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





Add Discussion as Guest

Log in