MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / take

Function take

source/core/StarAlgorithm.hpp:327–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325// default constructed state.
326template <typename T>
327T take(T& t) {
328 T t2 = std::move(t);
329 t = T();
330 return t2;
331}
332
333template <typename Container1, typename Container2>
334bool containersEqual(Container1 const& cont1, Container2 const& cont2) {

Callers 15

setIdentityMethod · 0.85
updateMethod · 0.85
setWorldParametersMethod · 0.85
setWorldLayoutMethod · 0.85
setSkyParametersMethod · 0.85
pathMoveMethod · 0.85
sendPacketsMethod · 0.85
receivePacketsMethod · 0.85
pullPendingMessagesMethod · 0.85
pullPendingAudioMethod · 0.85
pullPendingMusicMethod · 0.85
handleIncomingPacketsMethod · 0.85

Calls

no outgoing calls

Tested by 1

pullInspectionResultsMethod · 0.68