Function as_offset_datetime

Summary

#include <toml/value.hpp>

(1) offset_datetime const  & as_offset_datetime(const std::nothrow_t &) const &noexcept

(2) offset_datetime & as_offset_datetime(const std::nothrow_t &) &noexcept

(3) offset_datetime && as_offset_datetime(const std::nothrow_t &) &&noexcept

(4) offset_datetime const  & as_offset_datetime() const &

(5) offset_datetime & as_offset_datetime() &

(6) offset_datetime && as_offset_datetime() &&

Function overload

Synopsis

#include <toml/value.hpp>

offset_datetime const  & as_offset_datetime(const std::nothrow_t &) const &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1214-1214 in toml/value.hpp.

offset_datetime const& as_offset_datetime(const std::nothrow_t&) const& noexcept {return this->offset_datetime_;}

Synopsis

#include <toml/value.hpp>

offset_datetime & as_offset_datetime(const std::nothrow_t &) &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1225-1225 in toml/value.hpp.

offset_datetime& as_offset_datetime(const std::nothrow_t&) & noexcept {return this->offset_datetime_;}

Synopsis

#include <toml/value.hpp>

offset_datetime && as_offset_datetime(const std::nothrow_t &) &&noexcept

Description

No description yet.

Mentioned in

Source

Lines 1236-1236 in toml/value.hpp.

offset_datetime&& as_offset_datetime(const std::nothrow_t&) && noexcept {return std::move(this->offset_datetime_);}

Synopsis

#include <toml/value.hpp>

offset_datetime const  & as_offset_datetime() const &

Description

No description yet.

Mentioned in

Source

Lines 1284-1292 in toml/value.hpp.

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

Synopsis

#include <toml/value.hpp>

offset_datetime & as_offset_datetime() &

Description

No description yet.

Mentioned in

Source

Lines 1378-1386 in toml/value.hpp.

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

Synopsis

#include <toml/value.hpp>

offset_datetime && as_offset_datetime() &&

Description

No description yet.

Mentioned in

Source

Lines 1473-1481 in toml/value.hpp.

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





Add Discussion as Guest

Log in