assignment of read-only location1 stl_algo.h:2280: error: assignment of read-only location 다음과 같은 에러가 났다. 환경: GCC 4.1.2 20080704 (Red Hat 4.1.2-46) on CentOS 5.4 /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator]’: /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algo.h:2359: instan.. 2010. 5. 18. 이전 1 다음