Page MenuHome

Implemented scoped_array and use it in detector
ClosedPublic

Authored by Sergey Sharybin (sergey) on Jan 28 2014, 1:25 PM.

Details

Summary

scoped_array is pretty much the same as scoped_ptr
with the only difference that it'll free memory using
delete[] operator.

It also gives some additional API functions to access
array elements.

Currently it only used to manage images denoted as byte
arrays in detector.

Diff Detail

Branch
scoped_array

Event Timeline

Keir Mierle (keir) added inline comments.
src/libmv/base/scoped_ptr.h
60

ust -> must

69

Indentation is weird

Sergey Sharybin (sergey) updated this revision to Unknown Object (????).Jan 28 2014, 1:32 PM

Fix for minor issues.

Publishing just in case :)