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/LexicalAnalyzer_Enum.cpp

    r715 r750  
    160160    buffer.reserve(65536);
    161161
    162     BOOST_FOREACH( const EnumInfo &enumInfo, enums )
     162    foreach( const EnumInfo &enumInfo, enums )
    163163    {
    164         BOOST_FOREACH( const std::string &namespaceStr, enumInfo.GetNamespaceScopes() ){
     164        foreach( const std::string &namespaceStr, enumInfo.GetNamespaceScopes() ){
    165165            buffer.append("Namespace ").append(namespaceStr) += '\n';
    166166        }
     
    179179        buffer.append("\tEnd Sub\n");
    180180
    181         BOOST_FOREACH( const EnumMember &member, enumInfo.GetMembers() )
     181        foreach( const EnumMember &member, enumInfo.GetMembers() )
    182182        {
    183183            buffer.append("\tStatic ")
     
    190190        buffer.append("End Class\n");
    191191
    192         BOOST_FOREACH( const std::string &namespaceStr, enumInfo.GetNamespaceScopes() ){
     192        foreach( const std::string &namespaceStr, enumInfo.GetNamespaceScopes() ){
    193193            buffer.append("End Namespace\n");
    194194        }
Note: See TracChangeset for help on using the changeset viewer.