diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-02-17 16:57:37 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-02-17 17:14:45 -0800 |
commit | 515309164793b2e03c15954bf8a89f0f288a7f2c (patch) | |
tree | 7fd7ed06fc7a7a772c6002cbb57b59faafcd6ada /cpp/literate/009includes | |
parent | 6042828bdea2a1ed1da1b0d2013a4479fb3d005a (diff) | |
download | mu-515309164793b2e03c15954bf8a89f0f288a7f2c.tar.gz |
775 - starting to reorg C++ mu to use layers
Diffstat (limited to 'cpp/literate/009includes')
-rw-r--r-- | cpp/literate/009includes | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/cpp/literate/009includes b/cpp/literate/009includes new file mode 100644 index 00000000..c49c6c21 --- /dev/null +++ b/cpp/literate/009includes @@ -0,0 +1,47 @@ +// Some common includes needed all over the place. +// More tightly-targeted includes show up in other files. + +:(before "End Includes") +#include<cstdio> +#include<cstring> +#include<cstdlib> +#include<errno.h> +#include<time.h> +#include<math.h> +#include<vector> +using std::vector; +#include<list> +using std::list; +#include<stack> +using std::stack; +#include<utility> +using std::pair; + +#include<tr1/unordered_map> +using std::tr1::unordered_map; +#include<tr1/unordered_set> +using std::tr1::unordered_set; +#include<algorithm> + +#include<string> +using std::string; +#define NOT_FOUND string::npos // macro doesn't complain about redef + +#include<iostream> +using std::istream; +using std::ostream; +using std::iostream; +using std::cin; +using std::cout; +using std::cerr; + +#include<sstream> +using std::stringstream; +using std::istringstream; +using std::ostringstream; + +#include<fstream> +using std::ifstream; +using std::ofstream; + +#define unused __attribute__((unused)) |