Index: trunk/ab5.0/abdev/ab_common/src/Lexical/Class.cpp
===================================================================
--- trunk/ab5.0/abdev/ab_common/src/Lexical/Class.cpp	(revision 735)
+++ trunk/ab5.0/abdev/ab_common/src/Lexical/Class.cpp	(revision 750)
@@ -99,5 +99,5 @@
 	// 仮想関数になるメソッドに使用チェックをつける
 	const CClass &_class = *this;
-	BOOST_FOREACH( const CMethod *pMethod, _class.GetDynamicMethods() )
+	foreach( const CMethod *pMethod, _class.GetDynamicMethods() )
 	{
 		if( pMethod->IsVirtual() )
@@ -108,7 +108,7 @@
 
 	// インターフェイスメソッドに使用チェックをつける
-	BOOST_FOREACH( const ::Interface *pInterface, _class.GetInterfaces() )
-	{
-		BOOST_FOREACH( const CMethod *pMethod, pInterface->GetDynamicMethods() )
+	foreach( const ::Interface *pInterface, _class.GetInterfaces() )
+	{
+		foreach( const CMethod *pMethod, pInterface->GetDynamicMethods() )
 		{
 			pMethod->GetUserProc().Using();
@@ -210,5 +210,5 @@
 bool CClass::IsInheritsInterface( const CClass *pInterfaceClass ) const
 {
-	BOOST_FOREACH( const ::Interface *pInterface, interfaces ){
+	foreach( const ::Interface *pInterface, interfaces ){
 		if( pInterfaceClass == &pInterface->GetClass() ){
 			return true;
@@ -223,5 +223,5 @@
 	const Methods& inheritsClassMethods = inheritsClass.GetDynamicMethods();
 	GetDynamicMethods().reserve( inheritsClassMethods.size() );
-	BOOST_FOREACH( const CMethod *pBaseMethod, inheritsClassMethods ){
+	foreach( const CMethod *pBaseMethod, inheritsClassMethods ){
 		CMethod *pMethod = new DynamicMethod( *pBaseMethod );
 
@@ -256,5 +256,5 @@
 	const Interfaces& inheritsClassInterfaces = inheritsClass.GetInterfaces();
 	interfaces.reserve( inheritsClassInterfaces.size() );
-	BOOST_FOREACH( const ::Interface *pInterface, inheritsClassInterfaces )
+	foreach( const ::Interface *pInterface, inheritsClassInterfaces )
 	{
 		interfaces.push_back( new ::Interface( *pInterface ) );
@@ -298,5 +298,5 @@
 
 	//メソッド
-	BOOST_FOREACH( const CMethod *pMethod, GetDynamicMethods() ){
+	foreach( const CMethod *pMethod, GetDynamicMethods() ){
 		if(  name == pMethod->GetUserProc().GetName() ){
 			return 1;
@@ -320,5 +320,5 @@
 
 	// 動的メンバ
-	BOOST_FOREACH( const Member *pMember, dynamicMembers )
+	foreach( const Member *pMember, dynamicMembers )
 	{
 		if( GetName() == pMember->GetName() )
@@ -329,5 +329,5 @@
 
 	// 静的メンバ
-	BOOST_FOREACH( Member *pMember, staticMembers ){
+	foreach( Member *pMember, staticMembers ){
 		if( GetName() == pMember->GetName() ){
 			return true;
@@ -350,5 +350,5 @@
 	}
 
-	BOOST_FOREACH( Member *pMember, GetDynamicMembers() )
+	foreach( Member *pMember, GetDynamicMembers() )
 	{
 		if( pMember->GetName() == memberName )
@@ -366,5 +366,5 @@
 
 	// インターフェイス メソッド
-	BOOST_FOREACH( ::Interface *pInterface, GetInterfaces() )
+	foreach( ::Interface *pInterface, GetInterfaces() )
 	{
 		pInterface->GetDynamicMethods().Enum( methodName, subs );
@@ -379,5 +379,5 @@
 	{
 		// インターフェイス メソッド
-		BOOST_FOREACH( ::Interface *pInterface, GetInterfaces() )
+		foreach( ::Interface *pInterface, GetInterfaces() )
 		{
 			result = pInterface->GetDynamicMethods().GetMethodPtr( pUserProc );
@@ -446,5 +446,5 @@
 	}
 
-	BOOST_FOREACH( Member *pMember, dynamicMembers )
+	foreach( Member *pMember, dynamicMembers )
 	{
 		const Type& memberType = pMember->GetType();
@@ -553,5 +553,5 @@
 	}
 
-	BOOST_FOREACH( Member *pMember, dynamicMembers )
+	foreach( Member *pMember, dynamicMembers )
 	{
 		// メンバサイズ
@@ -654,5 +654,5 @@
 	}
 
-	BOOST_FOREACH( Member *pMember, dynamicMembers )
+	foreach( Member *pMember, dynamicMembers )
 	{
 		int tempAlignment = pMember->GetType().GetSize();
@@ -678,5 +678,5 @@
 
 	vtblIndex = 0;
-	BOOST_FOREACH( const CMethod *pMethod, GetDynamicMethods() ){
+	foreach( const CMethod *pMethod, GetDynamicMethods() ){
 		if( &pMethod->GetUserProc() == pUserProc )
 		{
@@ -690,10 +690,10 @@
 	}
 
-	BOOST_FOREACH( const ::Interface *pInterface, interfaces )
+	foreach( const ::Interface *pInterface, interfaces )
 	{
 		vtblMasterListIndex++;
 
 		vtblIndex = 0;
-		BOOST_FOREACH( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
+		foreach( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
 			if( &pMethod->GetUserProc() == pUserProc )
 			{
@@ -715,5 +715,5 @@
 	int result = 0;
 
-	BOOST_FOREACH( const ::Interface *pInterface, interfaces )
+	foreach( const ::Interface *pInterface, interfaces )
 	{
 		result++;
@@ -742,5 +742,5 @@
 	// 未実装(abstract)の仮想関数を持つ場合はtrueを返す
 
-	BOOST_FOREACH( const CMethod *pMethod, GetDynamicMethods() ){
+	foreach( const CMethod *pMethod, GetDynamicMethods() ){
 		if(pMethod->IsVirtual()){
 			if(pMethod->IsAbstract()){
@@ -751,7 +751,7 @@
 
 	// インターフェイスのvtbl
-	BOOST_FOREACH( const ::Interface *pInterface, interfaces )
-	{
-		BOOST_FOREACH( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
+	foreach( const ::Interface *pInterface, interfaces )
+	{
+		foreach( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
 			if(pMethod->IsVirtual()){
 				if(pMethod->IsAbstract()){
@@ -791,5 +791,5 @@
 		pClass = classes.front();
 
-		BOOST_FOREACH( const CClass *pTempClass, classes )
+		foreach( const CClass *pTempClass, classes )
 		{
 			if( pClass->GetNamespaceScopes().size() < pTempClass->GetNamespaceScopes().size() )
@@ -837,5 +837,5 @@
 	std::string result;
 
-	BOOST_FOREACH( const Member *pMember, dynamicMembers )
+	foreach( const Member *pMember, dynamicMembers )
 	{
 		if( result.size() )
@@ -853,5 +853,5 @@
 	std::string result;
 
-	BOOST_FOREACH( const Member *pMember, dynamicMembers )
+	foreach( const Member *pMember, dynamicMembers )
 	{
 		if( result.size() )
@@ -874,5 +874,5 @@
 {
 	const CClass &thisClass = *this;
-	BOOST_FOREACH( const Member *pMember, thisClass.GetDynamicMembers() )
+	foreach( const Member *pMember, thisClass.GetDynamicMembers() )
 	{
 		if( pMember->GetType().IsObject() || pMember->GetType().IsPointer() )
@@ -935,5 +935,5 @@
 
 	// 実装するインターフェイス
-	BOOST_FOREACH( ::Interface *pInterface, interfaces )
+	foreach( ::Interface *pInterface, interfaces )
 	{
 		pInterface->Resolve( resolver, resolveErrors );
@@ -941,5 +941,5 @@
 
 	// 動的メンバ
-	BOOST_FOREACH( Member *pMember, dynamicMembers )
+	foreach( Member *pMember, dynamicMembers )
 	{
 		pMember->Resolve( resolver, resolveErrors );
@@ -947,5 +947,5 @@
 
 	// 静的メンバ
-	BOOST_FOREACH( Member *pMember, staticMembers )
+	foreach( Member *pMember, staticMembers )
 	{
 		pMember->Resolve( resolver, resolveErrors );
@@ -953,5 +953,5 @@
 
 	// 動的メソッド
-	BOOST_FOREACH( CMethod *pMethod, GetDynamicMethods() )
+	foreach( CMethod *pMethod, GetDynamicMethods() )
 	{
 		pMethod->Resolve( resolver, resolveErrors );
@@ -959,5 +959,5 @@
 
 	// 静的メソッド
-	BOOST_FOREACH( CMethod *pMethod, staticMethods )
+	foreach( CMethod *pMethod, staticMethods )
 	{
 		pMethod->Resolve( resolver, resolveErrors );
@@ -965,5 +965,5 @@
 
 	// テンプレート展開後のクラス
-	BOOST_FOREACH( ActiveBasic::Common::Lexical::ExpandedTemplateClass *pExpandedTemplateClass, expandedTemplateClasses )
+	foreach( ActiveBasic::Common::Lexical::ExpandedTemplateClass *pExpandedTemplateClass, expandedTemplateClasses )
 	{
 		pExpandedTemplateClass->Resolve( resolver, resolveErrors );
