| 124 | using file_list = std::vector<file_item>; |
| 125 | |
| 126 | std::string |
| 127 | load_file(char const* path) |
| 128 | { |
| 129 | FILE* f = fopen(path, "rb"); |
| 130 | fseek(f, 0, SEEK_END); |
| 131 | auto const size = ftell(f); |
| 132 | std::string s; |
| 133 | s.resize(size); |
| 134 | fseek(f, 0, SEEK_SET); |
| 135 | auto const nread = fread(&s[0], 1, size, f); |
| 136 | s.resize(nread); |
| 137 | fclose(f); |
| 138 | return s; |
| 139 | } |
| 140 | |
| 141 | #if defined(BOOST_DESCRIBE_CXX14) |
| 142 | using supported_files = mpl::mp_list< |