__based Grammar
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

__based Grammar

Based addressing is useful when you need precise control over the segment in which objects are allocated (static and dynamic based data).

The only form of based addressing acceptable in 32-bit and 64-bit compilations is "based on a pointer" that defines a type that contains a 32-bit or 64-bit displacement to a 32-bit or 64-bit base or based on void.

based-range-modifier:

__based( base-expression )

base-expression:

based-variablebased-abstract-declaratorsegment-namesegment-cast

based-variable:

identifier

based-abstract-declarator:

abstract-declarator

base-type:

type-name

Show:
© 2016 Microsoft