Open
Description
It makes sense that the env
and txn
classes are moveable but not copyable, since they represent resources that are closed on destruction. But dbi
isn't like that — the destructor is a no-op. So I don't see a reason for not having a copy constructor and copying assignment.
Having these would make it cleaner to pass dbi
instances as parameters, store them in member variables, etc.
Metadata
Metadata
Assignees
Labels
No labels