Ticket #6109: typeof.hpp.patch

File typeof.hpp.patch, 537 bytes (added by hstong@…, 11 years ago)

Patch typeof.cpp to enable native typeof for vacpp.

  • boost/typeof/typeof.hpp

    old new  
    171171#         define BOOST_TYPEOF_KEYWORD __typeof__
    172172#     endif
    173173#   endif
     174#elif defined(__IBMCPP__)
     175#   ifndef BOOST_TYPEOF_EMULATION
     176#       ifndef BOOST_TYPEOF_NATIVE
     177#           define BOOST_TYPEOF_NATIVE
     178#       endif
     179#       define BOOST_TYPEOF_KEYWORD __typeof__
     180#   endif
    174181#else //unknown compiler
    175182#   ifndef BOOST_TYPEOF_NATIVE
    176183#       ifndef BOOST_TYPEOF_EMULATION