View Code? Open in Web Editor
NEW
何语言(元宇宙版),次世代赛博元宇宙元编程语言,C++模板元编程实现
License: MIT License
C++ 93.97%
CMake 1.03%
Makefile 4.99%
helangcppmetaimpl's Introduction
helangcppmetaimpl's People
Contributors
Watchers
helangcppmetaimpl's Issues
VS2022可以在C++17下运行,但在C++20下报错。报错信息:
\HeLangCppMetaImpl\example\test.cpp(70,13): error C7595: “helang::meta::detail::u8_impl<1>::operator +”: 对即时函数的调用不是常量表达式
\HeLangCppMetaImpl\example\test.cpp(70,15): message : 因读取超过生命周期的变量而失败
\HeLangCppMetaImpl\example\test.cpp(70,15): message : 请参见“b”的用法
每一个"+"和"-"均有此错误。
\HeLangCppMetaImpl\example\test.cpp(99,3): error C2672: “helang::meta::println”: 未找到匹配的重载函数
\HeLangCppMetaImpl\include\helang-meta/helang-meta.hpp(27,13): message : 可能是“void helang::meta::println(helang::meta::u8<vals...>)”
\HeLangCppMetaImpl\example\test.cpp(99,3): message : “void helang::meta::println(helang::meta::u8<vals...>)”: 无法从“int”推导出“helang::meta::u8<vals...>”的 模板 参数