Changed the macro forit. 

typeof is replaced by decltype in c++11.So fallback code for older versions has be to written.