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

Function reinterpret_pointer_cast

src/fl/stl/shared_ptr.h:524–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522
523template<typename T, typename Y>
524shared_ptr<T> reinterpret_pointer_cast(const shared_ptr<Y>& other) FL_NOEXCEPT {
525 return shared_ptr<T>(other, fl::bit_cast<T*>(other.get()));
526}
527
528} // namespace fl
529

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected