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

Relocate `not_null` and `owner` into `<gsl/gsl_util>`? #502

galik opened this Issue May 4, 2017 · 0 comments


None yet
1 participant

galik commented May 4, 2017

Both not_null and owner are defined in the header <gsl/gsl> which also includes every other GSL header. However people who want owner or not_null may not want everything else. For that reason it might be better to re-locate them elsewhere.

One way to fix this would be to simply move them into the <gsl/gsl_util> header which already contains a few things:

  • final_act
  • narrow_cast
  • at

This should not be a breaking change as anyone who includes either not_null or owner using the <gsl/gsl> header will continue to get them because <gsl/gsl> already includes all the other headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment