Function erase

Synopsis

#include <include/cpptoml.h>

void erase(const std::string &key)

Description

Removes an element from the table.

Source

Lines 1556-1559 in include/cpptoml.h.

void erase(const std::string& key)
{
    map_.erase(key);
}





Add Discussion as Guest

Log in