Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

vd

$
0
0

Enables or suppresses hidden vtordisp members in C++ objects.

Syntax

Linux OS and OS X:

None

Windows OS:

/vdn

Arguments

n

Possible values are:

0

Suppresses the creation of the hidden vtordisp members in C++ objects.

1

Enables the creation of hidden vtordisp members in C++ objects when they are necessary.

2

Enables the hidden vtordisp members for all virtual base classes with virtual functions. This setting is recommended in the following cases:

  • When the only virtual function in your virtual base class is a destructor

  • When you want to ensure correct performance of the dynamic_cast operator on a partially-constructed object

Default

/vd1

The compiler enables the creation of hidden vtordisp members in C++ objects when they are necessary.

Description

This option enables or suppresses hidden vtordisp members in C++ objects.

This is a compatibility option for the Microsoft Visual C++* option /vdn. For full details about this compiler option, see the Microsoft* documentation.

IDE Equivalent

None

Alternate Options

None

Inglés

Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>