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.
The Army, as one of the three military departments (Army, Navy and Air Force) reporting to the Department of Defense, is composed of two distinct and equally important components: the active component and the reserve components. The reserve components are the United States Army Reserve and the Army National Guard.