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

Function make_shared_int

tests/test_container_helpers.h:47–49  ·  view source on GitHub ↗

Helper to create shared_ptr with known value

Source from the content-addressed store, hash-verified

45
46// Helper to create shared_ptr with known value
47inline fl::shared_ptr<int> make_shared_int(int value) {
48 return fl::make_shared<int>(value);
49}
50
51// ============================================================================
52// Type Traits for Container Detection

Calls

no outgoing calls

Tested by

no test coverage detected