mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-22 04:20:06 +00:00
13 lines
291 B
C++
13 lines
291 B
C++
#include <windows.h>
|
|
#include <toml.hpp>
|
|
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
using namespace toml::literals::toml_literals;
|
|
const auto data = R"(windows = "defines min and max as a macro")"_toml;
|
|
|
|
std::cout << toml::find<std::string>(data, "windows") << std::endl;
|
|
return 0;
|
|
}
|