Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A minimal std::expected<T, E>#12

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
deanberris wants to merge6 commits intocpp-netlib:main
base:main
Choose a base branch
Loading
fromdeanberris:topic/simple-connection

Conversation

deanberris
Copy link
Member

@deanberrisdeanberris commentedJan 25, 2019
edited
Loading

This change includes a minimal implementation of the std::expected<T, E>
proposal in P0323R3 (http://wg21.link/P0323R3) which is hosted in the
cppnetlib namespace.

In the process we also document some of our guidelines on the structure
of the repository, on naming files, directory structure, and dependency
requirements.

Still TODO:

  • Update documentation on using vcpkg on dependencies.
  • Work our way up to a minimal interface for a connecton type, using our
    std::expected utility type.

This is related to the work in#5 for implementing a minimal
connection type suitable as a building block for higher level protocol
implementations.

This change includes a minimal implementation of the std::expected<T, E>proposal in P0323R3 (http://wg21.link/P0323R3) which is hosted in the`cppnetlib` repository.In the process we also document some of our guidelines on the structureof the repository, on naming files, directory structure, and dependencyrequirements.Still TODO:* Fill out the test suite.* Update documentation on using vcpkg on dependencies.* Work our way up to a minimal interface for a connecton type, using our  std::expected utility type.This is related to the work in netlib/cpp-netlib#5 for implementing a minimalconnection type suitable as a building block for higher level protocolimplementations.
@glynosglynos self-assigned thisFeb 3, 2019
@deanberrisdeanberris changed the titleWork In Progress: A minimal std::expected<T, E>A minimal std::expected<T, E>Feb 15, 2019
@deanberris
Copy link
MemberAuthor

Hi@glynos -- this is now ready for a look. Some thoughts:

  • Is there a way to make the CI learn to use vcpkg?
  • Aside from the inline documentation (using Doxygen-style comments), I'd appreciate a look through at the spec and the implementation.
  • I can start making progress on the connection type on top of this, and incrementally start adding functions when it turns out we need some of them. I skilled the emplace and in-place construction support, but those are trivial to add.

@AngleNet
Copy link

Suggests to separate test code into another directory lead to more clean layout.

Base automatically changed frommaster tomainFebruary 10, 2021 10:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@glynosglynosAwaiting requested review from glynos

At least 1 approving review is required to merge this pull request.

Assignees

@glynosglynos

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@deanberris@AngleNet@glynos

[8]ページ先頭

©2009-2025 Movatter.jp