mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-30 07:50:07 +00:00
7 lines
96 B
C++
7 lines
96 B
C++
#include <toml.hpp>
|
|
|
|
int read_a(const toml::table& t)
|
|
{
|
|
return toml::get<int>(t.at("a"));
|
|
}
|