VirtualBox

Changeset 55464 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Apr 27, 2015 11:07:50 PM (10 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h: Added RT_COMPILER_SUPPORTS_LAMDA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cdefs.h

    r55192 r55464  
    26882688#endif
    26892689
     2690/** @def RT_COMPILER_SUPPORTS_LAMDA
     2691 * If the defined, the compiler supports lamda expressions. */
     2692#if defined(_MSC_VER) && defined(__cplusplus)
     2693# if _MSC_VER >= 1600 /* Visual C++ v10.0 / 2010 */
     2694#  define RT_COMPILER_SUPPORTS_LAMDA
     2695# endif
     2696#elif defined(__GNUC__) && defined(__cplusplus)
     2697/* 4.5 or later, I think, if in ++11 mode... */
     2698#endif
     2699
    26902700/** @} */
    26912701
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette