Function operator""_toml

Synopsis

#include <toml/literal.hpp>

inline ::toml::basic_value< TOML11_DEFAULT_COMMENT_STRATEGY, std::unordered_map, std::vector > operator""_toml(const char *str, std::size_t len)

Description

No description yet.

Source

Lines 84-91 in toml/literal.hpp.

inline ::toml::basic_value<TOML11_DEFAULT_COMMENT_STRATEGY, std::unordered_map, std::vector>
operator"" _toml(const char* str, std::size_t len)
{
    ::toml::detail::location loc(
            std::string("TOML literal encoded in a C++ code"),
            std::vector<char>(str, str + len));
    return literal_internal_impl(std::move(loc));
}





Add Discussion as Guest

Log in