MCPcopy Create free account
hub / github.com/FastLED/FastLED / create_node

Method create_node

src/fl/stl/list.h:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 Node* create_node(const T& value) {
51 Node* node = static_cast<Node*>(mResource->allocate(sizeof(Node)));
52 new (node) Node(value);
53 return node;
54 }
55
56 Node* create_node(T&& value) {
57 Node* node = static_cast<Node*>(mResource->allocate(sizeof(Node)));

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected