Ignore:
Timestamp:
Sep 24, 2008, 2:02:16 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

BOOST_FOREACHを可能なものはVC++ 2005 for eachへ置換(やや速くなる)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/VarList.cpp

    r748 r750  
    223223    tv.item.pszText=VarData;
    224224
    225     BOOST_FOREACH( Member *pMember, objClass.GetDynamicMembers() ){
     225    foreach( Member *pMember, objClass.GetDynamicMembers() ){
    226226        if(bPtr){
    227227            lstrcpy(VarName,"->");
     
    327327    extern int MemPos_RWSection;
    328328
    329     BOOST_FOREACH( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
     329    foreach( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
    330330
    331331        //スコープ外の場合は無視
     
    421421    if(!pUserProc) return;
    422422
    423     BOOST_FOREACH( Variable *pVar, pUserProc->GetLocalVars() ){
     423    foreach( Variable *pVar, pUserProc->GetLocalVars() ){
    424424
    425425        //スコープ外の場合は無視
     
    507507    }
    508508
    509     BOOST_FOREACH( Member *pMember, pUserProc->GetParentClassPtr()->GetDynamicMembers() ){
     509    foreach( Member *pMember, pUserProc->GetParentClassPtr()->GetDynamicMembers() ){
    510510        offset=pUserProc->GetParentClassPtr()->GetMemberOffset( pMember->GetName().c_str());
    511511
Note: See TracChangeset for help on using the changeset viewer.