데이빗의 도스 게임 자료실

한국어

Game Dev

 template<typename tPair>
 struct second_t {
  typename tPair::second_type operator()(const tPair& p) const { return p.second; }
 };

 template<typename tMap>
 second_t<typename tMap::value_type> second(const tMap& m) { return second_t<typename tMap::value_type>(); }

 void Return(std::map<CClient *, CPacket *> &Packets)
 {
 ::EnterCriticalSection(&m_csPacketPool);
 std::transform(Packets.begin(), Packets.end(), std::back_inserter(m_q_PacketsReady), second(Packets));
 ::LeaveCriticalSection(&m_csPacketPool);
 }

조회 수 :
22691
등록일 :
2018.05.03
19:36:13 (*.82.136.236)
엮인글 :
게시글 주소 :
http://dosgame.yyartsworld.pe.kr/developer/44125
사진 및 파일 첨부

여기에 파일을 끌어 놓거나 왼쪽의 버튼을 클릭하세요.

파일 용량 제한 : 0MB (허용 확장자 : *.*)

0개 첨부 됨 ( / )
옵션 :
:
:
:
:
List of Articles
번호 제목 글쓴이 조회 수 추천 수 비추천 수 날짜
48 Warning: unable to build chain to self-signed root for signer file 관리자 4     2024-03-26
 
47 UE4 Gradle 버전 설정 관리자 70     2023-05-11
 
46 UE4 - Accept SDK License 관리자 26     2023-04-30
 
45 MYSQL ODBC 일정시간 후 커넥션이 lost 된다면 관리자 6979     2021-12-18
 
44 MYSQL ODBC Set Max Connection 관리자 36663     2021-10-05
 
43 Could not determine java version from '12.0.1' 관리자 27524     2021-07-16
 
42 MySQL DB 백업및 복원 관리자 16514     2020-12-02
 
41 UE4 MacOS Generate Xcode Project 안될때 관리자 21055     2020-08-27
 
40 Visual C++ Release 빌드에서 디버그 하기. 관리자 7408     2020-04-10
 
39 바이너리를 스트링으로 변환 관리자 7728     2019-06-04
 
38 Reflection vector file 관리자 113597     2019-02-28
 
37 Provisioning Profile location 관리자 21272     2018-07-10
 
36 UE4 How to deploy my app on IOS device without paying the $99 Apple developer program. 관리자 64977     2018-06-23
 
35 C++ printf() 64bit int, hex 관리자 48574     2018-06-12
 
34 JNI GetMethodID, GetStaticMethodID signature example 관리자 34088     2018-06-12
 
33 Visual C++ - Object file created with an older compiler than other objects 관리자 49911     2018-05-31
 
32 소켓옵션 SO_LINGER 에 대해 관리자 16569     2018-05-26
 
31 MSSQL ODBC Binary Data 이미지 같은 바이너리 데이터 올리기 관리자 2227     2018-05-16
 
» map을 deque에 일괄 삽입 std::copy std::transform std::back_inserter 관리자 22691     2018-05-03
template<typename tPair> struct second_t { typename tPair::second_type operator()(const tPair& p) const { return p.second; } }; template<typename tMap> second_t<typename tMap::value_type> second(const tMap& m) { return second_t<typename tMap...  
29 Windows C++ Mac Address 구하기 관리자 31002     2018-04-20