We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c9405 commit 8dcc1adCopy full SHA for 8dcc1ad
include/httpverbs/c_file.h
@@ -34,6 +34,7 @@ namespace httpverbs
34
namespace keywords
35
{
36
37
+inline
38
auto from_c_file(FILE* stream)
39
-> decltype(std::bind(
40
fread,
@@ -46,6 +47,7 @@ auto from_c_file(FILE* stream)
46
47
std::placeholders::_2, stream);
48
}
49
50
51
auto to_c_file(FILE* stream)
52
53
fwrite,
include/httpverbs/stream.h
@@ -63,12 +63,14 @@ struct _request_sputn_cb
63
64
65
66
67
auto from_stream(std::istream& is)
68
-> _request_sgetn_cb
69
70
return _request_sgetn_cb(is.rdbuf());
71
72
73
74
auto to_stream(std::ostream& os)
75
-> _request_sputn_cb
76
0 commit comments