C++使用STL库问题
本人新手上路,在调试程序时遇到下列问题:涉及STL库的一段代码
public:
iterator begin() { return this->_M_start; }
const_iterator begin() const { return this->_M_start; }
iterator end() { return this->_M_finish; }
const_iterator end() const { return this->_M_finish; }
reverse_iterator rbegin() { return reverse_iterator(end()); }
const_reverse_iterator rbegin() const { return const_reverse_iterator(end()); }
reverse_iterator rend() { return reverse_iterator(begin()); }
const_reverse_iterator rend() const { return const_reverse_iterator(begin()); }
size_type size() const { return size_type(this->_M_finish - this->_M_start); }
size_type max_size() const { return size_type(-1) / sizeof(_Tp); }
size_type capacity() const { return size_type(this->_M_end_of_storage._M_data - this->_M_start); }
bool empty() const { return this->_M_start == this->_M_finish; }跟踪时出现错误:Unhandled exception in XXX.exe:0xC0000005:Access Violation
并且 M_start CXX0017: Error: symbol "M_start" not found
请问各位大侠该怎么解决,多谢了