2cacb13f85
Check if the iterator is assigned to a const_iterator or const_revese_iterator, in which case it is possible the function can be const. Unfortunately, it is not possible to remove the hard coding of cbegin, cend, crbegin and crend due to the need to handle auto, as in the following code snippet: void cbegin_auto(void) { for (auto it = m_str.cbegin(); it != m_str.cend(); ++it) {;} } |
||
---|---|---|
.. | ||
boost.cpp | ||
bsd.c | ||
cairo.c | ||
cppunit.cpp | ||
generate-cfg-tests.sh | ||
gnu.c | ||
googletest.cpp | ||
gtk.c | ||
kde.cpp | ||
libcurl.c | ||
libsigc++.cpp | ||
lua.c | ||
opencv2.cpp | ||
openmp.c | ||
openssl.c | ||
posix.c | ||
python.c | ||
qt.cpp | ||
runtests.sh | ||
sqlite3.c | ||
std.c | ||
std.cpp | ||
windows.cpp | ||
wxwidgets.cpp |