Function operator()
Summary
#include <include/cpptoml.h>
(1) void operator()(char c)
(2) template <std::size_t N>
void operator()(const char(&str)[N])
Function overload
Synopsis
#include <include/cpptoml.h>
void operator()(char c)
Description
No description yet.
Source
Lines 1785-1790 in include/cpptoml.h.
void operator()(char c)
{
if (it_ == end_ || *it_ != c)
on_error_();
++it_;
}
Synopsis
#include <include/cpptoml.h>
template <std::size_t N>
void operator()(const char(&str)[N])
Description
No description yet.
Source
Lines 1792-1797 in include/cpptoml.h.
template <std::size_t N>
void operator()(const char (&str)[N])
{
std::for_each(std::begin(str), std::end(str) - 1,
[&](char c) { (*this)(c); });
}