Changeset 672 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Class.cpp
- Timestamp:
- Jun 29, 2008, 2:08:44 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Class.cpp
r640 r672 30 30 int DestructorMemberSubIndex, 31 31 int vtblNum, 32 int fixedAlignment ) 32 int fixedAlignment, 33 const Types &expandedClassActualTypeParameters ) 33 34 : ClassPrototype( symbol ) 34 35 , importedNamespaces( importedNamespaces ) … … 43 44 , vtblNum( vtblNum ) 44 45 , fixedAlignment( fixedAlignment ) 46 , expandedClassActualTypeParameters( expandedClassActualTypeParameters ) 45 47 , vtbl_offset( -1 ) 46 48 , comVtblOffset( 0 ) … … 379 381 } 380 382 383 void CClass::ResolveExpandedClassActualTypeParameter( Type &type ) const 384 { 385 if( !this->IsExpanded() ) 386 { 387 _ASSERTE( false ); 388 } 389 390 if( !type.IsTypeParameter() ) 391 { 392 // 型パラメータではない場合 393 return; 394 } 395 396 type = expandedClassActualTypeParameters[type.GetFormalTypeIndex()]; 397 } 398 381 399 //サイズを取得 382 400 int CClass::GetSize() const
Note:
See TracChangeset
for help on using the changeset viewer.