MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / setMap

Method setMap

source/MRMesh/MRMapOrHashMap.h:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 [[nodiscard]] static MapOrHashMap createHashMap( size_t capacity = 0 );
24
25 void setMap( Dense && m MR_LIFETIME_CAPTURE_BY_NESTED(this) ) { var = std::move( m ); }
26 void setHashMap( Hash && m MR_LIFETIME_CAPTURE_BY_NESTED(this) ) { var = std::move( m ); }
27
28 /// if this stores dense map then resizes it to denseTotalSize;

Callers 2

Src2TgtMapsMethod · 0.80
Tgt2SrcMapsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected