#include #include int main(void) { try { pom::Configuration conf = pom::Configuration("conf.pom", nullptr); auto indentation_type = conf.get("indentation-type"); if (indentation_type.has_value()) std::cout << "Indenting with " << indentation_type.value() << "\n"; else std::cout << "No indentation type set!\n"; } catch (pom::Error &error) { std::cerr << error << "\n"; } }