toml11/tests/test_windows.cpp

13 lines
291 B
C++
Raw Normal View History

2020-07-10 06:11:14 +00:00
#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;
2020-07-10 06:11:14 +00:00
std::cout << toml::find<std::string>(data, "windows") << std::endl;
return 0;
}