constexpr not compiling in VC2013

前端 未结 4 1244
伪装坚强ぢ
伪装坚强ぢ 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:10

    You need to install VS2013 Update 5. (I was on Update 3 and it was not working) The thing about "Nov 2013 CTP" was inapplicable, as of this writing. You can do so by going here: https://my.visualstudio.com

    and going to download, or : https://my.visualstudio.com/Downloads?q=visual%20studio%202013

提交回复
热议问题