C2977: 'std::tuple' : too many template arguments (MSVC11)

前端 未结 7 1982
清歌不尽
清歌不尽 2020-12-13 03:53

I\'m trying to build googletest with Visual C++ 11, but following code causes an error

template 

        
相关标签:
7条回答
  • To use GoogleTest in Visual Studio 2012, you should set _VARIADIC_MAX=10 under Properties->C/C++->Preprocessor->PreprocessorDefinitions on the projects that use it. else you might encounter with below error error C2977: 'std::tuple' : too many template arguments

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