]> git.sesse.net Git - xml-template/blob - c++0x/passthru.cpp
Move the C++0x file processing logic into a shared function.
[xml-template] / c++0x / passthru.cpp
1 #include <stdio.h>
2 #include <string.h>
3 #include <libxml/parser.h>
4
5 #include "xml-template.h"
6
7 using namespace std;
8
9 int main(int argc, char **argv)
10 {
11         unordered_map<string, Directive*> master_map;
12         process_file("../xml/passthru.xml", argv[1], new Substitute(master_map));
13         return(0);
14 }