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/src/Compiler.cpp

    r745 r750  
    2424Compiler::~Compiler()
    2525{
    26     BOOST_FOREACH( ObjectModule *pStaticLibrary, staticLibraries )
     26    foreach( ObjectModule *pStaticLibrary, staticLibraries )
    2727    {
    2828        delete pStaticLibrary;
     
    3333void Compiler::PreStaticLink( const ObjectModules &staticLibraries )
    3434{
    35     BOOST_FOREACH( const ObjectModule *pStaticLibrary, staticLibraries )
     35    foreach( const ObjectModule *pStaticLibrary, staticLibraries )
    3636    {
    3737        // 関連オブジェクトモジュールの名前リスト
     
    4141void Compiler::StaticLink( ObjectModules &staticLibraries )
    4242{
    43     BOOST_FOREACH( ObjectModule *pStaticLibrary, staticLibraries )
     43    foreach( ObjectModule *pStaticLibrary, staticLibraries )
    4444    {
    4545        if( &this->GetObjectModule() == pStaticLibrary )
     
    160160        // 仮型パラメータを実型パラメータに変換
    161161        Types actualTypes;
    162         BOOST_FOREACH( const GenericType &genericType, genericTypes )
     162        foreach( const GenericType &genericType, genericTypes )
    163163        {
    164164            actualTypes.push_back( genericType.GetType() );
     
    378378                // テンプレート展開済みのクラスの場合
    379379                std::string actualGenericTypesName;
    380                 BOOST_FOREACH( const Type &typeParameter, type.GetClass().expandedClassActualTypeParameters )
     380                foreach( const Type &typeParameter, type.GetClass().expandedClassActualTypeParameters )
    381381                {
    382382                    if( actualGenericTypesName.size() )
Note: See TracChangeset for help on using the changeset viewer.