constexpr not compiling in VC2013

前端 未结 4 1242
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 06:14

This constexpr code does not compiled in Visual Studio 2013 version 12.0.21005.1 REL

Is there a newer Visual Studio compiler that works with constexpr?



        
4条回答
  •  孤城傲影
    2020-11-30 07:09

    Microsoft publishes a C++11 compatibility table, under which constexpr is clearly marked as not being available in Visual Studio 2013.

    The November 2013 CTP has it, though.

    Source: Google visual studio constexpr

提交回复
热议问题