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/ab_common/src/Lexical/Meta.cpp

    r640 r750  
    9999    // グローバル変数
    100100    long initAreaBaseOffset = this->globalVars.initAreaBuffer.GetSize();
    101     BOOST_FOREACH( Variable *pVar, meta.globalVars )
     101    foreach( Variable *pVar, meta.globalVars )
    102102    {
    103103        if( pVar->IsExternal() )
     
    186186
    187187    // 関数ポインタ
    188     BOOST_FOREACH( ProcPointer *pProcPointer, meta.procPointers )
     188    foreach( ProcPointer *pProcPointer, meta.procPointers )
    189189    {
    190190        if( pProcPointer->IsExternal() )
     
    283283
    284284    // グローバル変数
    285     BOOST_FOREACH( Variable *pVar, globalVars )
     285    foreach( Variable *pVar, globalVars )
    286286    {
    287287        pVar->Resolve( resolver, resolveErrors );
     
    319319
    320320    // 関数ポインタ
    321     BOOST_FOREACH( ProcPointer *pProcPointer, procPointers )
     321    foreach( ProcPointer *pProcPointer, procPointers )
    322322    {
    323323        pProcPointer->Resolve( resolver, resolveErrors );
Note: See TracChangeset for help on using the changeset viewer.