The error is :
loganalyzer.cpp: In member function ‘void Loganalyzer::conditionaldistribution(size_t, size_t, size_t, size_t, size_t, double)’:
loganalyzer.cpp:1091: error: template argument for ‘template<class _T1, class _T2> struct std:air’ uses local type ‘Loganalyzer::conditionaldistribution(size_t, size_t, size_t, size_t, size_t, double)::Count’
loganalyzer.cpp:1091: error: trying to instantiate ‘template<class _T1, class _T2> struct std:air’
loganalyzer.cpp:1091: error: template argument 4 is invalid
loganalyzer.cpp:1091: error: invalid type in declaration before ‘;’ token
Code:void Loganalyzer::conditionaldistribution(size_t T, size_t S, size_t N, size_t f, size_t SIZE, double alpha) { typedef int pathcode; typedef struct { public: int countall; int countplus; int countminus; } Count; map<pathcode, Count > count; ... }