Did you include the proper include file that defines pair?

Did you properly scope this standard class?

Jim