-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zlib::service
refactor
#108
Conversation
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
install_service(context& ctx); | ||
|
||
} // zlib | ||
} // http_proto | ||
} // boost | ||
|
||
#include <boost/http_proto/service/impl/zlib_service.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't do this anymore... everything goes in the compiled lib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The contents of impl/zlib_service.hpp
are declarations and constexpr functions, which must be placed in header files.
This is similar to: https://github.com/cppalliance/http_proto/blob/develop/include/boost/http_proto/impl/error.hpp
namespace detail { | ||
|
||
struct BOOST_SYMBOL_VISIBLE | ||
error_cat_type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't realize URL put so much in the headers. Is this the best technique? Maybe... I can't remember why though.
BOOST_SYSTEM_CONSTEXPR | ||
system::error_code | ||
make_error_code( | ||
error ev) noexcept |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess making this function inline has performance advantages for things like comparisons to error
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that since system::error_code
can be constructed at compile time, we need to make make_error_code
constexpr
to enable that feature for our error types.
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
Your javadocs need work but this is a long-term problem. From now on please try to make them as descriptive as possible. |
c5ba050
to
61bf7a0
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
61bf7a0
to
ec9732f
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
ec9732f
to
54ea11d
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
54ea11d
to
d533d2c
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
d533d2c
to
72beced
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
1 similar comment
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
72beced
to
1c4a5c9
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
1c4a5c9
to
5db9d14
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
5db9d14
to
a44dfe9
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
1 similar comment
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
a44dfe9
to
2d5e435
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
2d5e435
to
9eb2593
Compare
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
9eb2593
to
dd5b1c7
Compare
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
dd5b1c7
to
ce501cb
Compare
Antora version: an automated preview of the documentation is available at https://108.http-proto.prtest.cppalliance.org/site/index.html |
GCOVR code coverage report https://108.http-proto.prtest.cppalliance.org/gcovr/index.html |
No description provided.