데이빗의 도스 게임 자료실

한국어

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);
 }

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

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

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

0개 첨부 됨 ( / )
옵션 :
:
:
:
:
List of Articles
번호 제목 글쓴이 조회 수sort 추천 수 비추천 수 날짜
28 Eclipse에서 NDK Build file 관리자 10826     2014-11-21
 
27 안드로이드 개발환경 관리자 12499     2014-08-27
 
26 DISTINCT 의 사용 관리자 12884     2016-05-12
 
25 Eclipse 에서 NDK 디버깅하기 관리자 14281     2014-11-21
 
24 MySQL DB 백업및 복원 관리자 16587     2020-12-02
 
23 소켓옵션 SO_LINGER 에 대해 관리자 16650     2018-05-26
 
22 DB ERRORLOG 삭제 관리자 17608     2016-05-18
 
21 트랜잭션 로그파일 축소 관리자 18142     2016-05-18
 
20 MSSQL 날자 문자열을 datetime으로 변환 관리자 18597     2016-01-21
 
19 UE4 MacOS Generate Xcode Project 안될때 관리자 21095     2020-08-27
 
18 Provisioning Profile location 관리자 21299     2018-07-10
 
» map을 deque에 일괄 삽입 std::copy std::transform std::back_inserter 관리자 22747     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...  
16 Could not determine java version from '12.0.1' 관리자 27586     2021-07-16
 
15 Windows C++ Mac Address 구하기 관리자 31086     2018-04-20
 
14 MSSQL 성능 향상을 위한 query 작성과 tuning 관리자 33139     2017-12-12
 
13 MSSQL 한글이나 한자가 ???로 나타날때 관리자 34191     2015-06-04
 
12 JNI GetMethodID, GetStaticMethodID signature example 관리자 34220     2018-06-12
 
11 MYSQL ODBC Set Max Connection 관리자 37247     2021-10-05
 
10 UE4 VR Resolution Setting 관리자 48006     2017-12-22
 
9 C++ printf() 64bit int, hex 관리자 48671     2018-06-12