问一下,你的这个lambda表达式和index_sequense是必需的吗?不能用普通的for循环实现吗?感觉有点炫技的成分。
【 在 poocp 的大作中提到: 】
: 这是我写的一个编译时的函数,变长参数比上面那个还稍微复杂点。
: template<std::size_t N>
: constexpr auto make_translation_map(const wchar_t* const (&arr)[N]) {
: ...................
--
FROM 183.242.243.*