1. 29 Jan, 2022 1 commit
  2. 05 Jun, 2020 1 commit
  3. 26 Apr, 2020 1 commit
  4. 18 Apr, 2020 1 commit
  5. 28 Feb, 2020 1 commit
  6. 15 Mar, 2018 2 commits
    • Anna Gringauze's avatar
      Enable usage of gsl::narrow with exceptions disabled (#640) · d846fe50
      Anna Gringauze authored
      * Enable usage of gsl::narrow with exceptions disabled
      
      This solution uses the approach of boost::asio to enabling usage of the
      library in environments where exception usage is either prohibited
      or not feasible (due to code size constraints). A function template
      gsl::throw_exception has been added, which in a normal environment just
      throws the exception. However, when GSL_TERMINATE_ON_CONTRACT_VIOLATION
      is defined the function is only declared by gsl and the definition of
      this function template must be supplied by the library's user.
      
      Closes: #468
      
      
      
      Signed-off-by: default avatarDamian Jarek <damian.jarek93@gmail.com>
      
      Addition:
      - understand STL no exception macro
      - use function static variable to set termination handler in kernel mode
      - add compile-only tests for no-exception mode
      
      * added termination tests and fixed bugs
      
      * disabled warning C4577 for msvc 2015
      d846fe50
    • Anna Gringauze's avatar
      simplified constructors and removed GSL_NOEXCEPT in span (#639) · c6bf25a5
      Anna Gringauze authored
      - simplified storage constructors to reduce branching
      - eliminated null check for constructor from array
      - removed GSL_NOEXCEPT in span
      c6bf25a5
  7. 05 Mar, 2018 1 commit
  8. 04 Mar, 2018 2 commits
    • Neil MacIntosh's avatar
      Fix return type of templated span.subspan() (#625) · 6a33b97a
      Neil MacIntosh authored
      * Added support for returning fixed-spize spans from subspan().
      
      * Addressed issues from code review.
      
      * Took simpler approach to static data member.
      
      * Subtle fix to support MSVC 15.
      
      * Helps to not introduce extraneous >
      6a33b97a
    • Anna Gringauze's avatar
      fixed noexept warnings (#632) · cbd64c9f
      Anna Gringauze authored
      * fixed noexept warnings
      
      - Removed conditional compilation for throwing version of GSL
        vs fail_fast because we don't want users of the code to see
        differences in the span interface dependent on error mechanism
        chosen
      - Removed noexcept from functions that may fail at runtime
      - Fixed CppCoreCheck warnings related to missing and incorrect
        noexcept
      - do not warn on unnown attributes for GCC and Clang
      
      * remove suppress that does not compiler for clang and gcc
      cbd64c9f
  9. 03 Mar, 2018 1 commit
  10. 23 Feb, 2018 1 commit
  11. 21 Feb, 2018 1 commit
  12. 20 Feb, 2018 3 commits
  13. 14 Feb, 2018 3 commits
  14. 12 Feb, 2018 4 commits
  15. 11 Feb, 2018 13 commits
  16. 23 Jan, 2018 1 commit
  17. 04 Dec, 2017 1 commit
  18. 28 Nov, 2017 2 commits