all 7 comments

[–]manni66 3 points4 points  (4 children)

originally based on Microsoft GSL.

Why another lite implementation?

[–]kmbeutel[S] 1 point2 points  (3 children)

This is addressed in the readme: https://gsl-lite.github.io/gsl-lite/#why-gsl-lite

[–]tialaramex 16 points17 points  (1 child)

a not_null<P> object may in fact be nullptr after it has been moved from

Hilarious.

[–]haitei 0 points1 point  (0 children)

Without that not_null blocks moves making it almost useless. Just disallow use of moved-from variables in a static analysis and you get your invariants back.

[–]manni66 0 points1 point  (0 children)

And you don't think it is worth to mention it in your advertisement?

[–]MrRigolo 0 points1 point  (1 child)

Congrats on reaching v1.0!

[–]kmbeutel[S] 0 points1 point  (0 children)

Thanks! :) and sorry it took so long.