语言-设计 问答列表

在 LLVM 中声明参数的字符串类型

作者:Kellan_B 提问时间:9/11/2023

如何在 LLVM C++ API 中声明字符串参数?例如,要声明一个参数,我会这样做:double argTypes.push_back(Type::getDoubleTy(*context)) ...

为什么指针的 std::iterator_traits::iterator_category 不是 std::contiguous_iterator_tag?

作者:Jan Schultke 提问时间:10/14/2023

iterator_traits专门用于指针 namespace std { template<class T> requires is_object_v<T> struct iterator_...


共2条 当前第1页