cannot initialize a member subobject of type 'int' with an lvalue of type 'const int *'

前端 未结 0 1525
被撕碎了的回忆
被撕碎了的回忆 2020-11-22 16:20

In my class I have written the following code:

template
node::node(const T *key, const T *value):key(key), value(value) {
}

相关标签:
回答
  • 消灭零回复
提交回复
热议问题