Skip to content

Instantly share code, notes, and snippets.

@thiagomg thiagomg/config.h
Created Feb 4, 2016

Embed
What would you like to do?
Leitura de configuração em C++
auto get(const Key &key) const -> const Value & {
auto it = _items.find(key);
if( it == _items.end() )
return _empty;
return it->second;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.