mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-27 06:40:06 +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"));
|
||
|
}
|