Function count

Synopsis

#include <toml/value.hpp>

std::size_t count(const key_type &k) const

Description

No description yet.

Mentioned in

Source

Lines 1681-1689 in toml/value.hpp.

std::size_t count(const key_type& k) const
{
    if(!this->is_table())
    {
        detail::throw_bad_cast<value_t::table>(
            "toml::value::count(key): ", this->type_, *this);
    }
    return this->as_table(std::nothrow).count(k);
}





Add Discussion as Guest

Log in