<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="html">- 안영기의 개발실 - (WIZ / CAANOO / bada): 이상한-파라미터에 달린 최근 댓글/트랙백 목록</title>
  <id>http://avej.com/textcube/</id>
  <link rel="alternate" type="text/html" hreflang="ko" href="http://avej.com/textcube/" />
  <subtitle type="html">GP2X WIZ와 CAANNO와 bada용 게임 개발을 하자</subtitle>
  <updated>2011-11-27T15:15:16+09:00</updated>
  <generator>Textcube 1.7.5 : Risoluto</generator>
  <entry>
    <title type="html">용맨소녀님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://avej.com/textcube/24#comment66" />
    <author>
      <name>(용맨소녀)</name>
    </author>
    <id>http://avej.com/textcube/24#comment66</id>
    <published>2010-08-11T01:42:15+09:00</published>
    <summary type="html">explicit 가 뭐죠? ㅡ.ㅡ 플머 인생 18년동안 처음보는 단어군요.. (역시 헛살았다는..)</summary>
  </entry>
  <entry>
    <title type="html">왕풍뎅이님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://avej.com/textcube/24#comment68" />
    <author>
      <name>(왕풍뎅이)</name>
    </author>
    <id>http://avej.com/textcube/24#comment68</id>
    <published>2010-08-12T15:27:20+09:00</published>
    <summary type="html">http://bischoff.tistory.com/202 이거라는뎅 용만앙</summary>
  </entry>
  <entry>
    <title type="html">슴갈님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://avej.com/textcube/24#comment71" />
    <author>
      <name>(슴갈)</name>
    </author>
    <id>http://avej.com/textcube/24#comment71</id>
    <published>2010-08-31T12:36:37+09:00</published>
    <summary type="html">왕풍뎅이님 링크를 참조하시면 될 것 같고.... 잘 안쓰일 수도 있지만 꼭 필요한 것 중에 하나입니다. (저의 경우에는, 남이 쓰는 SDK를 만들어야 하는 직업이기에 중요하게 생각하는 키워드 이기도 하고요...)</summary>
  </entry>
  <entry>
    <title type="html">summerlight님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://avej.com/textcube/24#comment74" />
    <author>
      <name>(summerlight)</name>
    </author>
    <id>http://avej.com/textcube/24#comment74</id>
    <published>2010-10-23T17:59:31+09:00</published>
    <summary type="html">오랜만에 들릅니다.

위의 경우는 객체 instance의 선언이 아니라 함수 원형을 선언하는 것으로 간주되기 때문에 그렇습니다. 구체적으로는CRenderMode를 반환하고 int형의 인자를 받는 state0라는 함수를 선언한 셈이 되고요. 함수 선언과 객체 instance의 선언 사이의 구분이 서로 모호해서 발생하는 문제죠. C의 유산을 물려 받느라 어쩔 수 없이 발생한 일인 것 같습니다.

그래서 저는 그냥 명시적으로 static_cast를 씁니다. 타이핑이 좀 길어지더라도 C++같이 위험한 언어에서는 최대한 모호함을 배제하는 것이 맞는 것 같습니다...</summary>
  </entry>
  <entry>
    <title type="html">슴갈님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://avej.com/textcube/24#comment76" />
    <author>
      <name>(슴갈)</name>
    </author>
    <id>http://avej.com/textcube/24#comment76</id>
    <published>2010-11-02T20:50:46+09:00</published>
    <summary type="html">그렇군요. 간단하게 g++에서 확인을 해보았는데, 함수 선언의 파라미터로 int(mode) 와 같은 선언이 가능하군요. 처음 알았습니다. 감사합니다.</summary>
  </entry>
</feed>

