Show HN: The web needs more creativity and whimsy
https://ignition.github.io/press/
Someone commented that all UIs are starting to look very much the same and very AI lately.I think we play and experiment more.
https://ignition.github.io/press/
Someone commented that all UIs are starting to look very much the same and very AI lately.I think we play and experiment more.
struct File_handle {
static auto Create(std::string const & pp, const char *r) -> std::expected<File_handle, std::error_code> {
auto p = fopen(pp.c_str(), r);
if (!p) return std::unexpected(error_code_from_errno(errno));
return File_handle{p};
}
~File_handle() { fclose(p); }
private:
File_handle(FILE * f) : p{f} {}
FILE *p;
};