'default' as a variable name

前端 未结 1 1908
再見小時候
再見小時候 2020-12-07 00:59

While debugging some code, I came across an array named default. I thought that keywords were not allowed as variable names.

#include \"stdafx.h         


        
相关标签:
1条回答
  • 2020-12-07 01:34

    It's a known issue in VC++. Basically by-design for C++/CLI compatibility.

    0 讨论(0)
提交回复
热议问题