Ignore:
Timestamp:
Mar 10, 2008, 5:39:36 PM (16 years ago)
Author:
dai_9181
Message:

・ジェネリックな型をパラメータに持つメソッドのオーバーロード解決に対応した。
・型パラメータの制約クラス指定に対応した。

Location:
trunk/abdev/BasicCompiler_Common/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/include/Class.h

    r417 r424  
    290290
    291291    // 型パラメータ
     292    const GenericTypes &GetFormalGenericTypes() const
     293    {
     294        return formalGenericTypes;
     295    }
    292296    void AddFormalGenericType( GenericType genericType )
    293297    {
  • trunk/abdev/BasicCompiler_Common/include/Type.h

    r378 r424  
    247247typedef std::vector<Type> Types;
    248248
     249/*!
     250@brief  ジェネリックな型を解決する
     251@param  typeParameter ジェネリック型を指定する。ここに解決後の型が入る。
     252        classType インスタンス化されているオブジェクトの型
     253        pUserProc 現在コンパイル中の関数(ただしクラスメソッドのみ)
     254*/
    249255void ResolveFormalGenericTypeParameter( Type &typeParameter, const Type &classType, const UserProc *pUserProc = NULL );
    250256
Note: See TracChangeset for help on using the changeset viewer.