Are you trying to compile code that contains something like this?
#include "stdafx.h"
template < _CountofType, size_t _SizeOfArray>
char (*__countof_helper( _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray];
#include "stdafx.h"
template < _CountofType, size_t _SizeOfArray>
char (*__countof_helper( _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray];
To copy to clipboard, switch view to plain text mode
(Which I found simply by googling "_CountofType". You could have done that too and found the solution to your problem).
The template syntax is incorrect. It should read:
#include "stdafx.h"
template < typename _CountofType, size_t _SizeOfArray>
char (*__countof_helper( _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray];
#include "stdafx.h"
template < typename _CountofType, size_t _SizeOfArray>
char (*__countof_helper( _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray];
To copy to clipboard, switch view to plain text mode
Bookmarks