1
0
Fork 0
forked from lthn/blockchain

comment for clarification

This commit is contained in:
sowle 2021-12-18 08:33:41 +03:00
parent 1bda897ec9
commit e689f281a3
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -600,6 +600,8 @@ namespace tools
bdb.get_backend()->enumerate(m_h, &local_enum_handler);
}
// callback format: bool cb(uint64_t index, const key_t& key, const value_t& value)
// cb should return true to continue, false -- to stop enumeration
template<class t_cb>
void enumerate_items(t_cb cb)const
{