Ignore:
Timestamp:
May 20, 2021, 10:53:21 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
090a7c5
Parents:
77f1265
Message:

Andrew MMath: Work on figures and linkonce.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/features.tex

    r77f1265 rc21f5a9  
    150150It is important to note that these are virtual members, not virtual methods
    151151of object-orientated programming, and can be of any type.
    152 However, since \CFA has function pointers and they are allowed, virtual
    153 members can be used to mimic virtual methods.
     152\CFA still supports virtual methods as a special case of virtual members.
     153Function pointers that take a pointer to the virtual type will be modified
     154with each level of inheritance so that refers to the new type.
     155This means an object can always be passed to a function in its virtual table
     156as if it were a method.
    154157
    155158Each virtual type has a unique id.
Note: See TracChangeset for help on using the changeset viewer.