cpp-netlib / netlib

https://cpp-netlib.org
Apache License 2.0
6 stars 4 forks source link

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

Open deanberris opened 5 years ago

deanberris commented 5 years ago

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:

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

deanberris commented 5 years ago

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

AngleNet commented 5 years ago

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