static const std::map ALIAS_MAP { {% for token in tokens -%} {% for alias in token.alias -%} { u8"{{ alias }}"sv, u8"{{ token.name }}"sv }, {% endfor -%} {% endfor -%} }; static const std::map WINCP_MAP { {% for token in tokens -%} {% if token.code_page is not none -%} { u8"{{ token.name }}"sv, static_cast({{ token.code_page }}u) }, {% endif -%} {% endfor -%} }; static const std::map ICONV_MAP { {% for token in tokens -%} {% if token.iconv_code is not none -%} { u8"{{ token.name }}"sv, "{{ token.iconv_code }}"sv }, {% endif -%} {% endfor -%} };