开发平台(Platform): (Ex: VC++, GCC, Linux, ...)
g++ -std=c++11
额外使用到的函数库(Library Used): (Ex: OpenGL, ...)
N/A
问题(Question):
因为新学c++11, 我根本连compile error 要怎么fix 都不知道
请各位大神指点看看
huffman.cc:22:23: error: object of type 'std::__1::unique_ptr<huffman_node, std::__1::default_delete<huffman_node> >' cannot be assigned because its copy
assignment operator is implicitly deleted
left_ = std::move(other.left_);
^
程式码(Code):(请善用置底文网页, 记得排版)
http://codepad.org/KP4m4CRE
感恩