You copied the Doc URL to your clipboard.

Compiler-supported keywords for calling class member functions in embedded assembler

The following embedded assembler built-ins facilitate the calling of virtual and nonvirtual member functions from an __asm function.

Those beginning with __mcall can be used for both virtual and nonvirtual functions. Those beginning with __vcall can be used only with virtual functions. They do not particularly help in calling static member functions.

  • __mcall_is_virtual(D, f).
  • __mcall_is_in_vbase(D, f).
  • __mcall_offsetof_vbase(D, f).
  • __mcall_this_offset(D, f).
  • __vcall_offsetof_vfunc(D, f).