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

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

Location:
trunk/ab5.0/abdev/ab_common/include
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Class.h

    r728 r750  
    194194    {
    195195        int i = 0;
    196         BOOST_FOREACH( const GenericType &genericType, formalGenericTypes )
     196        foreach( const GenericType &genericType, formalGenericTypes )
    197197        {
    198198            if( genericType.GetName() == name )
     
    206206    bool IsExistFormalGenericTypeParameter( const std::string &name ) const
    207207    {
    208         BOOST_FOREACH( const GenericType &genericType, formalGenericTypes )
     208        foreach( const GenericType &genericType, formalGenericTypes )
    209209        {
    210210            if( genericType.GetName() == name )
  • trunk/ab5.0/abdev/ab_common/include/Lexical/DataTable.h

    r640 r750  
    104104
    105105        // スケジュールを追加
    106         BOOST_FOREACH( const Schedule &schedule, dataTable.schedules )
     106        foreach( const Schedule &schedule, dataTable.schedules )
    107107        {
    108108            this->schedules.push_back(
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Namespace.h

    r737 r750  
    3838
    3939        bool isFirst = true;
    40         BOOST_FOREACH( const std::string &itemStr, me ){
     40        foreach( const std::string &itemStr, me ){
    4141            if( isFirst ){
    4242                isFirst = false;
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Procedure.h

    r702 r750  
    5757    }
    5858    ~Procedure(){
    59         BOOST_FOREACH( Parameter *pParam, params ){
     59        foreach( Parameter *pParam, params ){
    6060            delete pParam;
    6161        }
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Type.h

    r713 r750  
    361361    {
    362362        const BlittableTypes &blittableTypes = *this;
    363         BOOST_FOREACH( const BlittableType &blittableType, blittableTypes ){
     363        foreach( const BlittableType &blittableType, blittableTypes ){
    364364            if( blittableType.GetBasicType().Equals( type ) ){
    365365                return true;
     
    371371    {
    372372        const BlittableTypes &blittableTypes = *this;
    373         BOOST_FOREACH( const BlittableType &blittableType, blittableTypes ){
     373        foreach( const BlittableType &blittableType, blittableTypes ){
    374374            if( blittableType.GetBasicType().Equals( type ) ){
    375375                return blittableType;
     
    384384    {
    385385        const BlittableTypes &blittableTypes = *this;
    386         BOOST_FOREACH( const BlittableType &blittableType, blittableTypes ){
     386        foreach( const BlittableType &blittableType, blittableTypes ){
    387387            if( blittableType.GetBasicType().Equals( type ) ){
    388388                return blittableType.GetClassPtr();
  • trunk/ab5.0/abdev/ab_common/include/ab_common.h

    r640 r750  
    22
    33#define trace_for_serialize( msg )
     4
     5#include "libs.h"
    46
    57#include "BasicFixed.h"
Note: See TracChangeset for help on using the changeset viewer.