MCPcopy Create free account
hub / github.com/couchbase/fleece / _TempArray

Method _TempArray

Fleece/Support/TempArray.hh:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 template <class T>
40 struct _TempArray {
41 _TempArray(size_t n)
42 :_onHeap(n * sizeof(T) >= 1024)
43 ,_array( _onHeap ? new T[n] : nullptr)
44 { }
45
46 ~_TempArray() {
47 if (_onHeap)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected