Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Visual C++

Microsoft's Visual C++ compiler, abbreviated VC++, is a very popular compiler but does not implement the standard C++ preprocessor correctly in a number of respects. Because of this the programmer using the VMD needs to occasionally do things differently when VC++ is being used. These "quirks" of VC++ have been smoothed over as much as possible in the VMD library, but are mentioned in further topics and occasionally must be addressed by the programmer using VMD.

The VMD has a macro that indicates when VC++ is the compiler being used. The macro is an object-like macro called BOOST_VMD_MSVC. It is set to 1 when VC++ is being used and set to 0 when VC++ is not being used.


PrevUpHomeNext