$ grep -ER "std::" . ./3rdparty/squirrel/sqstdlib/sqstdrex.cpp: throw std::exception(); ./ai/ai.hpp:typedef std::map ScriptInfoList; ./ai/ai_gui.cpp: typedef std::vector VisibleSettingsList; ./blitter/factory.hpp: typedef std::map Blitters; ///< Map of blitter factories. ./blitter/factory.hpp: std::pair P = GetBlitters().insert(Blitters::value_type(this->name, this)); ./cargoaction.cpp: /* Legal, as front pushing doesn't invalidate iterators in std::list. */ ./cargomonitor.cpp: std::pair p(monitor, 0); ./cargomonitor.h:typedef std::map CargoMonitorMap; ./cargopacket.cpp: std::pair range(this->packets.equal_range(next)); ./cargopacket.h:typedef std::list CargoPacketList; ./cargopacket.h:typedef std::map StationCargoAmountMap; ./core/multimap.hpp:template > ./core/multimap.hpp:class MultiMap : public std::map, Tcompare > { ./core/multimap.hpp: typedef typename std::list List; ./core/multimap.hpp: typedef typename std::map Map; ./core/multimap.hpp: std::pair equal_range(const Tkey &key) ./core/multimap.hpp: return std::make_pair(begin, ++end); ./core/multimap.hpp: return std::make_pair(begin, begin); ./core/multimap.hpp: std::pair equal_range(const Tkey &key) const ./core/multimap.hpp: return std::make_pair(begin, ++end); ./core/multimap.hpp: return std::make_pair(begin, begin); ./core/string_compare_type.hpp:/** @file string_compare_type.hpp Comparator class for "const char *" so it can be used as a key for std::map */ ./depend/depend.cpp:typedef std::set StringSet; ./depend/depend.cpp:typedef std::map StringMap; ./depend/depend.cpp:typedef std::pair StringMapItem; ./depend/depend.cpp:typedef std::map KeywordList; ./depend/depend.cpp: static std::stack ignore; ./driver.cpp: std::pair P = GetDrivers().insert(Drivers::value_type(longname, this)); ./driver.h: typedef std::map Drivers; ///< Type for a map of drivers. ./economy.cpp: std::list::iterator iter; ./error_gui.cpp:typedef std::list ErrorList; ./fileio.cpp:typedef std::map TarLinkList; ./fileio.cpp: const std::string &src = link->first; ./fileio.cpp: const std::string &dest = link->second; ./fileio.cpp:static void TarAddLink(const std::string &srcParam, const std::string &destParam, Subdirectory subdir) ./fileio.cpp: std::string src = srcParam; ./fileio.cpp: std::string dest = destParam; ./fileio.cpp: std::transform(src.begin(), src.end(), src.begin(), tolower); ./fileio.cpp: std::transform(dest.begin(), dest.end(), dest.begin(), tolower); ./fileio.cpp: const std::string src_path = ((*src.rbegin() == PATHSEPCHAR) ? src : src + PATHSEPCHAR); ./fileio.cpp: const std::string dst_path = (dest.length() == 0 ? "" : ((*dest.rbegin() == PATHSEPCHAR) ? dest : dest + PATHSEPCHAR)); ./fileio.cpp: const std::string &src = link->first; ./fileio.cpp: const std::string &dest = link->second; ./game/game.hpp:typedef std::map ScriptInfoList; ./game/game_text.cpp: throw std::exception(); ./game/game_text.cpp: if (_errors != 0) throw std::exception(); ./game/game_text.cpp: if (_errors != 0) throw std::exception(); ./gfx_layout.h: std::string str; ///< Source string of the line (including colour and font size codes). ./gfx_layout.h: /** Comparison operator for std::map */ ./gfx_layout.h: typedef std::map LineCache; ./industry_gui.cpp:std::bitset _displayed_industries; ///< Communication from the industry chain window to the smallmap window about what industries to display. ./landscape.cpp: std::set marks; ./landscape.cpp: std::list queue; ./landscape.cpp: std::set::const_iterator cit = marks.begin(); ./linkgraph/demands.cpp:typedef std::queue NodeList; ./linkgraph/linkgraph_gui.cpp: this->cached_stations.push_back(std::make_pair(from, supply)); ./linkgraph/linkgraph_gui.h: typedef std::map StationLinkMap; ./linkgraph/linkgraph_gui.h: typedef std::map LinkMap; ./linkgraph/linkgraph_gui.h: typedef std::vector > StationSupplyList; ./linkgraph/linkgraphjob.h:typedef std::list PathList; ./linkgraph/linkgraphschedule.h: typedef std::list GraphList; ./linkgraph/linkgraphschedule.h: typedef std::list JobList; ./linkgraph/mcf.cpp:typedef std::map PathViaMap; ./linkgraph/mcf.cpp: std::vector station_to_node; ./linkgraph/mcf.cpp: typedef std::set AnnoSet; ./linkgraph/mcf.cpp: std::fill(path.begin(), path.end(), (Path *)NULL); ./linkgraph/mcf.h:typedef std::vector PathVector; ./linkgraph/refresh.cpp: * Comparison operator to allow hops to be used in a std::set. ./linkgraph/refresh.h: * usage in std::set. ./linkgraph/refresh.h: typedef std::vector RefitList; ./linkgraph/refresh.h: typedef std::set HopSet; ./misc/countedptr.hpp: * prevents using CCountedPtr in stl collections (i.e. std::list >) ./misc/dbg_helpers.h: typedef std::map KNOWN_NAMES; ./misc/dbg_helpers.h: std::stack m_cur_struct; ///< here we will track the current structure name ./network/network_content_gui.cpp: std::bitset types; ///< Content types displayed ./network/network_content_gui.cpp: NetworkContentListWindow(WindowDesc *desc, bool select_all, const std::bitset &types) : ./network/network_content_gui.cpp: std::bitset types; ./newgrf.cpp: std::map spritesets[GSF_END]; ./newgrf.cpp:static std::map _grm_sprites; ./newgrf.cpp:typedef std::map GRFLineToSpriteOverride; ./newgrf.cpp:static std::map _grf_id_overrides; ./newgrf.cpp: std::vector ranges; ./newgrf.cpp: std::vector bounds; ./newgrf.cpp: std::sort(bounds.begin(), bounds.end()); ./newgrf.cpp: bounds.erase(std::unique(bounds.begin(), bounds.end()), bounds.end()); ./newgrf.cpp: std::vector target; ./newgrf.cpp: std::vector optimised; ./newgrf_generic.cpp:typedef std::list GenericCallbackList; ./newgrf_gui.cpp:typedef std::map GrfIdMap; ///< Map of grfid to the grf config. ./newgrf_gui.cpp: std::pair p(c->ident.grfid, c); ./newgrf_spritegroup.cpp: DeterministicSpriteGroupRange *lower = std::lower_bound(this->ranges + 0, this->ranges + this->num_ranges, value, RangeHighComparator); ./newgrf_storage.cpp:static std::set *_changed_storage_arrays = new std::set; ./newgrf_storage.cpp: for (std::set::iterator it = _changed_storage_arrays->begin(); it != _changed_storage_arrays->end(); it++) { ./newgrf_town.cpp: std::list::iterator iter; ./newgrf_town.cpp: std::list::iterator iter; ./roadstop.cpp:typedef std::list RVList; ///< A list of road vehicles ./saveload/afterload.cpp: for (std::list::iterator it = t->psa_list.begin(); it != t->psa_list.end(); ++it) { ./saveload/afterload.cpp: std::list::iterator iter; ./saveload/afterload.cpp: std::list::iterator iter; ./saveload/cargomonitor_sl.cpp: std::pair p(storage.number, storage.amount); ./saveload/cargomonitor_sl.cpp: std::pair p(storage.number, storage.amount); ./saveload/engine_sl.cpp:static std::vector _temp_engine; ./saveload/engine_sl.cpp: for (std::vector::iterator it = _temp_engine.begin(); it != _temp_engine.end(); ++it) { ./saveload/oldloader.cpp: throw std::exception(); ./saveload/oldloader.cpp: if (ls->total_read != chunk->offset + _bump_assert_value) throw std::exception(); ./saveload/saveload.cpp: throw std::exception(); ./saveload/saveload.cpp: * @param list The std::list to find the size of ./saveload/saveload.cpp: const std::list *l = (const std::list *) list; ./saveload/saveload.cpp: typedef std::list PtrList; ./saveload/station_sl.cpp:std::list _packets; ./saveload/station_sl.cpp:typedef std::pair > StationCargoPair; ./saveload/station_sl.cpp: std::map >::iterator it(ge_packets.find(INVALID_STATION)); ./saveload/station_sl.cpp: fs = &(st->goods[i].flows.insert(std::make_pair(flow.source, FlowStat(flow.via, flow.share, flow.restricted))).first->second); ./saveload/vehicle_sl.cpp: std::map mapping; ./script/api/script_admin.cpp:/* static */ bool ScriptAdmin::MakeJSON(HSQUIRRELVM vm, SQInteger index, int max_depth, std::string &data) ./script/api/script_admin.cpp: data = std::string("\"") + buf + "\""; ./script/api/script_admin.cpp: std::string tmp; ./script/api/script_admin.cpp: std::string key; ./script/api/script_admin.cpp: std::string value; ./script/api/script_admin.cpp: std::string json; ./script/api/script_admin.hpp: static bool MakeJSON(HSQUIRRELVM vm, SQInteger index, int max_depth, std::string &data); ./script/api/script_controller.hpp: typedef std::map LoadedLibraryList; ///< The type for loaded libraries. ./script/api/script_error.hpp: typedef std::map ScriptErrorMap; ///< The type for mapping between error (internal OpenTTD) StringID to the script error type. ./script/api/script_error.hpp: typedef std::map ScriptErrorMapString; ///< The type for mapping between error type and textual representation. ./script/api/script_event.cpp: std::queue stack; ///< The actual queue. ./script/api/script_list.cpp: * the new list, too, so that we don't have to invalidate any iterators. Note that std::swap ./script/api/script_list.hpp: typedef std::set ScriptItemList; ///< The list of items inside the bucket ./script/api/script_list.hpp: typedef std::map ScriptListBucket; ///< The bucket list per value ./script/api/script_list.hpp: typedef std::map ScriptListMap; ///< List per item ./script/api/script_station.cpp: std::pair range = Tvia ? ./script/api/script_station.cpp: std::make_pair(StationCargoList::ConstIterator(cargo_list.Packets()->begin()), ./script/api/script_stationlist.cpp: std::pair range = ./script/script_config.hpp:typedef std::list ScriptConfigItemList; ///< List of ScriptConfig items. ./script/script_config.hpp: typedef std::map SettingValueList; ./script/script_scanner.hpp:typedef std::map ScriptInfoList; ///< Type for the list of scripts. ./script/script_storage.hpp: std::vector callback_value; ///< The values which need to survive a callback. ./settings.cpp:typedef std::list ErrorList; ./settings_gui.cpp: typedef std::vector EntryVector; ./smallmap_gui.cpp: extern std::bitset _displayed_industries; ./spritecache.cpp:static std::map _grf_sprite_offsets; ./spritecache.cpp: } catch (std::bad_alloc &) { ./station_base.h: * done by creating "flow shares" and using std::map's upper_bound() method to ./station_base.h: typedef std::map SharesMap; ./station_base.h: * FlwoStat to be used in a std::map. ./station_base.h:class FlowStatMap : public std::map { ./station_base.h: std::list loading_vehicles; ./station_cmd.cpp: for (std::list::iterator it(st->loading_vehicles.begin()); it != st->loading_vehicles.end(); ++it) { ./station_cmd.cpp: this->insert(std::make_pair(origin, FlowStat(via, flow))); ./station_cmd.cpp: this->insert(std::make_pair(origin, fs)); ./station_gui.cpp:typedef std::set CargoDataSet; ./station_gui.cpp: typedef std::vector CargoDataVector; ./station_gui.cpp: std::list stations; ./station_type.h:typedef std::list StationIDList; ./strgen/strgen.cpp: throw std::exception(); ./strings.cpp: std::stack str_stack; ./table/newgrf_debug_data.h: std::list::iterator iter; ./tar_type.h:typedef std::map TarList; ./tar_type.h:typedef std::map TarFileList; ./terraform_cmd.cpp:typedef std::set TileIndexSet; ./terraform_cmd.cpp:typedef std::map TileIndexToHeightMap; ./town.h: std::list psa_list; ./townname_type.h:typedef std::set TownNames; ./vehicle_base.h: typedef std::list RefitList; ./vehicle_base.h: typedef std::map CapacitiesMap; $ grep -ER "std::" . | wc -l 164 $ grep -ER "std::map" . | wc -l 41 $ grep -ER "std::list" . | wc -l 33 $ grep -ER "std::string" . | wc -l 21 $ grep -ER "std::pair" . | wc -l 14 $ grep -ER "std::vector" . | wc -l 14 $ grep -ER "std::set" . | wc -l 13 $ grep -ER "std::stack" . | wc -l 3 $ grep -ER "std::bitset" . | wc -l 5 $ grep -ER "std::transform" . | wc -l 2 $ grep -ER "std::exception" . | wc -l 8 $ grep -ER "std::less" . | wc -l 1 $ grep -ER "std::make_pair" . | wc -l 9