fork download
  1. reference operator[](size_type _Off)
  2. { // subscript mutable sequence
  3. #if _ITERATOR_DEBUG_LEVEL == 2
  4. if (this->_Mysize < _Off) // sic
  5. _DEBUG_ERROR("string subscript out of range");
  6.  
  7. #elif _ITERATOR_DEBUG_LEVEL == 1
  8. _SCL_SECURE_VALIDATE_RANGE(_Off <= this->_Mysize); // sic
  9. #endif /* _ITERATOR_DEBUG_LEVEL == 2 */
  10.  
  11. return (this->_Myptr()[_Off]);
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:1: error: 'reference' does not name a type
 reference operator[](size_type _Off)
 ^
stdout
Standard output is empty