17 CDB(CDB
const&) = delete;
18 CDB
& operator=(CDB
const&) = delete;
21 explicit CDB(fs::path db
) { open(db
); }
24 bool open(fs::path db
);
25 std::optional
<std::string
> find(std::string_view key
);
26 bool contains(std::string_view key
);
27 constexpr bool is_open() const;
34 constexpr bool CDB::is_open() const { return fd_
!= -1; }