I noticed some C++ parsing/handling issues. The following code snipped summerizes it:
// regions aren't recognized as collapsible blocks (it's more a VC++ issue...)
#pragma region ARegion
HRESULT A::a()
{
return S_OK;
}
// leading comment prevent function recognition
/**/ HRESULT A::b()
{
return S_OK;
}
// function is recognized as a golobal function not a class function
template <class ACLASS>
HRESULT A<ACLASS>::c()
{
return S_OK;
}
#pragma endregion