MCPcopy Create free account
hub / github.com/Naios/function2 / assign_ptr

Function assign_ptr

include/function2/function2.hpp:455–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453 }
454
455 constexpr void assign_ptr(void* ptr) noexcept {
456 ptr_ = ptr;
457 }
458 constexpr void assign_ptr(void const* ptr) noexcept {
459 ptr_ = const_cast<void*>(ptr);
460 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected