MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / reset

Method reset

tests/catch.hpp:4584–4588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4582 }
4583
4584 void reset() {
4585 if( nullableValue )
4586 nullableValue->~T();
4587 nullableValue = nullptr;
4588 }
4589
4590 T& operator*() { return *nullableValue; }
4591 T const& operator*() const { return *nullableValue; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected