MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / ClearAction

Class ClearAction

src/Phobos.Ext.cpp:82–94  ·  view source on GitHub ↗

calls: T::Clear() T::ExtMap.Clear()

Source from the content-addressed store, hash-verified

80// T::Clear()
81// T::ExtMap.Clear()
82struct ClearAction
83{
84 template <typename T>
85 static bool Process()
86 {
87 if constexpr (Clearable<T>)
88 T::Clear();
89 else if constexpr (HasExtMap<T>)
90 T::ExtMap.Clear();
91
92 return true;
93 }
94};
95
96// calls:
97// T::PointerGotInvalid(void*, bool)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected