Function as_table

Summary

#include <toml/value.hpp>

(1) table_type const  & as_table(const std::nothrow_t &) const &noexcept

(2) table_type & as_table(const std::nothrow_t &) &noexcept

(3) table_type && as_table(const std::nothrow_t &) &&noexcept

(4) table_type const  & as_table() const &

(5) table_type & as_table() &

(6) table_type && as_table() &&

Function overload

Synopsis

#include <toml/value.hpp>

table_type const  & as_table(const std::nothrow_t &) const &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1219-1219 in toml/value.hpp.

table_type      const& as_table          (const std::nothrow_t&) const& noexcept {return this->table_.value();}

Synopsis

#include <toml/value.hpp>

table_type & as_table(const std::nothrow_t &) &noexcept

Description

No description yet.

Mentioned in

Source

Lines 1230-1230 in toml/value.hpp.

table_type     & as_table          (const std::nothrow_t&) & noexcept {return this->table_.value();}

Synopsis

#include <toml/value.hpp>

table_type && as_table(const std::nothrow_t &) &&noexcept

Description

No description yet.

Mentioned in

Source

Lines 1241-1241 in toml/value.hpp.

table_type     && as_table          (const std::nothrow_t&) && noexcept {return std::move(this->table_.value());}

Synopsis

#include <toml/value.hpp>

table_type const  & as_table() const &

Description

No description yet.

Mentioned in

Source

Lines 1329-1337 in toml/value.hpp.

table_type const& as_table() const&
{
    if(this->type_ != value_t::table)
    {
        detail::throw_bad_cast<value_t::table>(
                "toml::value::as_table(): ", this->type_, *this);
    }
    return this->table_.value();
}

Synopsis

#include <toml/value.hpp>

table_type & as_table() &

Description

No description yet.

Mentioned in

Source

Lines 1423-1431 in toml/value.hpp.

table_type & as_table() &
{
    if(this->type_ != value_t::table)
    {
        detail::throw_bad_cast<value_t::table>(
                "toml::value::as_table(): ", this->type_, *this);
    }
    return this->table_.value();
}

Synopsis

#include <toml/value.hpp>

table_type && as_table() &&

Description

No description yet.

Mentioned in

Source

Lines 1518-1526 in toml/value.hpp.

table_type && as_table() &&
{
    if(this->type_ != value_t::table)
    {
        detail::throw_bad_cast<value_t::table>(
                "toml::value::as_table(): ", this->type_, *this);
    }
    return std::move(this->table_.value());
}





Add Discussion as Guest

Log in