The above code compiles fine as it should be If I just uncomment the std::vector one it fires compilation errors sayingCode:template <typename T, typename CONT /*= std::vector*/ >
struct Stack{
CONT elem;
};
But I don't find any syntactic or symantic error in the above code. can anybody please point it out.Code:error: expected type-specifier
error: expected '>'