[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    Re: [PATCH] Optimize pointers to member function
From:       John McCall <rjmccall () apple ! com>
Date:       2013-02-14 19:05:28
Message-ID: 2E9F7779-51DF-432D-BA2B-2C8D09384378 () apple ! com
[Download RAW message or body]

On Feb 14, 2013, at 3:57 AM, Olivier Goffart <ogoffart@kde.org> wrote:
> This patch optimize comparison and calling of pointers to member function.
> 
> If we know that a given class do not have multiple inheritance, we can 
> simplify the comparison and the calls as the pointer to this will never be 
> shifted.
> On the Microsoft ABI (which is not implemented in clang), the size of a 
> pointer to a member function is even reduced in that case.[1]

A pointer-to-member may point to a member of a derived class.

John.
_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic