Absence of typeof operator in C++03?

后端 未结 5 1133
半阙折子戏
半阙折子戏 2020-12-05 21:44

I\'m just wondering how boost have implemented BOOST_TYPEOF (in C++03) which seems to be a very useful tool. Anyone has any idea?

Also, I\'m thinking C++03 itself co

5条回答
  •  伪装坚强ぢ
    2020-12-05 21:59

    Since boost is distributed as source code (and BOOST_TYPEOF available is a header file implementation in any case), you could of course just take a look. It has lots of compiler specific conditional compilation, so the answer is that it is compiler specific.

提交回复
热议问题