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

Class identity

source/core/StarAlgorithm.hpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18};
19
20struct identity {
21 template <typename U>
22 constexpr decltype(auto) operator()(U&& v) const {
23 return std::forward<U>(v);
24 }
25};
26
27template <typename Func>
28struct SwallowReturn {

Callers 15

makeImageMethod · 0.85
DrawableMethod · 0.85
NetworkedAnimatorMethod · 0.85
groupTransformationMethod · 0.85
partTransformationMethod · 0.85
lightSourcesMethod · 0.85
updateMethod · 0.85
RendererClass · 0.85
OpenGlRendererClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected