martinmoene / optional-lite

optional lite - A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library
Boost Software License 1.0
403 stars 45 forks source link

Add the header itself as a release asset #44

Closed mortenfyhn closed 5 years ago

mortenfyhn commented 5 years ago

Hi, and thanks for your work in this and the other -lite repos.

I think it would be convenient to have the header file made directly available as a build asset, so those who only want the .hpp can get it without downloading and unzipping the whole repo archive.

A random example of a C++ header-only library on GitHub that does this is rang:

rang

This suggestion applies to all the other -lite libraries too, of course.

martinmoene commented 5 years ago

Thanks for bringing up this this need.

martinmoene commented 5 years ago

Now done for expected, optional, value_ptr, variant.

mortenfyhn commented 5 years ago

Brilliant! I'll close this issue.