MCPcopy Create free account
hub / github.com/DFHack/dfhack / emplaceNew

Method emplaceNew

plugins/debug.cpp:366–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364 //! Add a new filter which gets automatically a new id
365 template<typename... Args>
366 std::pair<iterator,bool> emplaceNew( Args&&... args ) {
367 return emplace(std::piecewise_construct,
368 std::forward_as_tuple(nextId_++),
369 std::forward_as_tuple(std::forward<Args>(args)...));
370 }
371
372 //! Load state from the configuration file
373 DFHack::command_result loadConfig(DFHack::color_ostream& out) noexcept;

Callers 1

setFilterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected