GSL/include/gsl
Casey Carter 16a6a41690 gsl_assert changes: (#452)
* GSL_LIKELY/_UNLIKELY always contextually convert their argument to bool.

* Add macro GSL_ASSUME(cond) to inform the optimizer that the predicate cond must hold.

* Reimplement Expects & Ensures as expressions for flexibility and correctness. (Think about "if (cond1) Expects(cond2); else goto fail;")

* Expects and Ensures GSL_ASSUME their predicate when GSL_UNENFORCED_ON_CONTRACT_VIOLATION is defined.
2017-03-20 09:30:14 -07:00
..
gsl add gsl::not_null operator<< (#464) 2017-03-09 12:42:18 -08:00
gsl_algorithm Cleanup include structure, constexpr and noexcept compiler workarounds. 2017-02-07 15:59:37 -08:00
gsl_assert gsl_assert changes: (#452) 2017-03-20 09:30:14 -07:00
gsl_byte Revert change to the definition of constexpr macro in gsl_byte from #446 (#450) 2017-02-11 17:38:59 -08:00
gsl_util Properly qualify std::size_t (#448) 2017-02-13 12:11:45 -08:00
multi_span Properly qualify std::size_t (#448) 2017-02-13 12:11:45 -08:00
span Properly qualify std::size_t (#448) 2017-02-13 12:11:45 -08:00
string_span Updating length_func<CharT>::operator() to accept pointer-to-const. (#458) 2017-03-10 09:02:13 -08:00