사진처럼 cmp_str부분에서 const-volatile한정자가 손실된다는데 무슨 오류인가요오
struct cmp_str { bool operator()(char const *a, char const *b) { return strcmp(a, b) < 0; } };
struct cmp_str { bool operator()(char const * const a, char const * const b) const { return strcmp(a, b) < 0; } };
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
이렇게 고치세요
댓글 달기