You can't use the keyword struct here. Use class or typename (you can still instantiate your template with a struct though).EDIT: Your other problems are to do with the anonymous struct in main.DIT AGAIN: What you originally wrote, with the anonymous struct in main works (after replacing struct in the template) with --std=c++11, but not without (i.e. c++03).
Functions of the Department of the Army. The Department of the Army is comprised of land combat and service forces, which includes aviation, water transport, and space and cyberspace forces, as may be organic therein.
However, they remain excluded from primarily close combat units in the Army (Royal Armoured Corps and Infantry), Royal Marines, and Royal Air Force Regiment. As of 1 April 2014, there are approximately 15,840 women serving in the Armed Forces, representing 9.9% of all service personnel.