Created
February 4, 2016 22:20
-
-
Save thiagomg/97aceb0ab8572a1bb04f to your computer and use it in GitHub Desktop.
Leitura de configuração em C++
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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