C++ template – error: expected initializer before ‘<' token

pair is name of a standard class and with the using namespace std, there is a collision.

Several solutions :

  • Rename your class to something else.
  • Dont use the using statement

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)