/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
contrib/libs/yaml-cpp/src/directives.cpp
22 строки
455 B
qkrorlqr
Initial NBS OpenSource export
28 апр 2023, 21:54
28 апр 2023, 21:54
783a858
Код
Авторство
О чём код?
#include "directives.h" namespace YAML { Directives::Directives() { // version version.isDefault = true; version.major = 1; version.minor = 2; } const std::string Directives::TranslateTagHandle( const std::string& handle) const { std::map<std::string, std::string>::const_iterator it = tags.find(handle); if (it == tags.end()) { if (handle == "!!") return "tag:yaml.org,2002:"; return handle; } return it->second; } }