Why do libraries create macro aliases for c++ keywords?

前端 未结 0 1711
执笔经年
执笔经年 2020-11-30 05:54

Often in large libraries I see code similar to the following:

#define MY_CONSTEXPR constexpr
#define MY_NOEXCEPT noexcept
#define MY_NODISCARD [[nodiscard]]
e         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题