1. 首页
  2. 数据库
  3. 其它
  4. ld: symbol(s) not found for architecture x86_64 clang: error: linker command fai

ld: symbol(s) not found for architecture x86_64 clang: error: linker command fai

上传者: 2021-01-09 21:54:43上传 PDF文件 19.78KB 热度 18次
今天编写一个简单的代码,报错了: template class matrix final { public: matrix(uint32_t size): SIZE(size) { _data = static_cast(malloc(SIZE * sizeof(T*))); for (uint32_t i = 0; i < SIZE; ++i) { _data[i] = new T[SIZE]; } } inline const uint32_t size() const { return SIZE; } T* operator[](uint
下载地址
用户评论