Commit Graph

  • 247c4250d4 Fixes dereferencing operator issue #517 introduced in PR #513 (#516) Alexey Malov 2017-05-31 21:18:55 +03:00
  • 30595c1f1d Restricting usage of owner<T> to pointer types (#507) saurabh singh 2017-05-31 08:38:12 +05:30
  • 23581d4d63 Adding derference operator to not_null (#513) saurabh singh 2017-05-30 22:36:21 +05:30
  • d1032864aa Fix use of 0 instead of nullptr warning (#515) Gary Furnish 2017-05-30 10:57:45 -06:00
  • 7abfc98198 GSL_NOEXCEPT should appear before the initialization list (#514) Galik 2017-05-30 16:09:09 +01:00
  • 39902b6ec0 span_iterator: converting constructor isn't a copy constructor (#511) Casey Carter 2017-05-26 15:41:12 -07:00
  • 1f82596e1d Update README.md to include a new OS X combination Neil MacIntosh 2017-05-07 12:37:44 -07:00
  • 8b320e3f5d Update CMake usage (#493) Tiago 2017-04-25 17:08:36 -07:00
  • 64c0ca64ce make_span for array doesn't pass N as span template parameter (#498) ewoudvc 2017-04-25 21:01:49 +02:00
  • ebe7ebfd85 Reformat files to follow clang-format style (#492) Tiago 2017-04-20 07:51:37 -07:00
  • c5851a8161 Turn warnings into errors (#488) Casey Carter 2017-04-17 12:26:38 -07:00
  • c2f953f2eb Add value_type to span (#425) Maciej T. Nowak 2017-04-13 22:55:20 +02:00
  • 66cf6896e5 Updated submodule reference for unittest-cpp to latest (#483) Julien Monat Rodier 2017-04-13 10:46:31 -07:00
  • 534bb4c663 Added support of not_null<smart_ptr> comparison (#473) Alexey Malov 2017-04-13 03:34:39 +03:00
  • ebab8cab7f gsl::at clean-up: (#479) Casey Carter 2017-04-03 22:43:43 -07:00
  • d65660760b fail_fast should derive from logic_error (#480) Casey Carter 2017-04-03 11:09:47 -07:00
  • f0e3ff81f9 Update README to drop support for VS 2013. Neil MacIntosh 2017-04-02 12:32:06 -07:00
  • ade86caa92 Fix some corechecker warnings (#470) MikeGitb 2017-04-02 21:30:49 +02:00
  • 3300602653 CI updates incl. remove support for VS 2013. Casey Carter 2017-04-02 12:24:42 -07:00
  • 16a6a41690 gsl_assert changes: (#452) Casey Carter 2017-03-20 09:30:14 -07:00
  • 5905d2d774 Fix links in README.md (#457) zhykzhykzhyk 2017-03-11 01:55:24 +08:00
  • 2676e172db Updating length_func<CharT>::operator() to accept pointer-to-const. (#458) Duncan Horn 2017-03-10 09:02:13 -08:00
  • f9c47dd63f add gsl::not_null operator<< (#464) Rian Quinn 2017-03-09 13:42:18 -07:00
  • 3819df6e37 Properly qualify std::size_t (#448) Casey Carter 2017-02-13 12:11:45 -08:00
  • a6baab7c01 Update README.md (#454) mkluwe 2017-02-13 20:47:04 +01:00
  • e3fecbd1c5 not_null cleanups and improvements: (#449) Casey Carter 2017-02-13 11:40:27 -08:00
  • 6367b42ac5 Silence warning in algorithm_tests with VS2017 (#453) Casey Carter 2017-02-13 11:25:09 -08:00
  • 6360dd1e75 Revert change to the definition of constexpr macro in gsl_byte from #446 (#450) Casey Carter 2017-02-11 17:38:59 -08:00
  • 4e8f95b418 Cleanup include structure, constexpr and noexcept compiler workarounds. Casey Carter 2017-02-07 15:59:37 -08:00
  • 96eaf274f8 Make is_default_constructible work for spans. Casey Carter 2017-01-28 00:08:48 -08:00
  • f93d325495 Fix gsl_byte to include type_traits Tobias Hunger 2017-01-24 02:07:12 +01:00
  • 18e3825cc0 Updated README.md to mention VS natvis file. Neil MacIntosh 2017-01-14 17:15:24 -08:00
  • 0ed032fb13 Add Visual Studio Native Visualiser support file. Gabriel M 2017-01-15 03:10:22 +02:00
  • 897cc48f70 Fix #pragma warning push/pop mismatch in multi_span (Issue #431) ErnestPenfold 2017-01-10 01:38:38 +01:00
  • 9d13cb14c3 Fixes to typedef's for span::const_iterator. Eric Niebler 2016-12-09 20:19:50 -08:00
  • 1a94e77910 Fix preprocessor error. Gary Furnish 2016-12-06 17:40:09 -07:00
  • 628d3e8546 Updated README to refer to VS 2017 Neil MacIntosh 2016-11-29 18:34:51 -08:00
  • c52d54f955 Fix a signed/unsigned comparison warning. David Doria 2016-11-29 20:08:32 -06:00
  • d2dafe2ddf Add a copy() function for span. MikeGitb 2016-11-17 19:45:06 +01:00
  • 2df9f85385 Add make_span() Rian Quinn 2016-11-16 11:17:04 -07:00
  • 9523c1842e Fix template pack expansion bug in multi_span. Neil MacIntosh 2016-11-16 10:15:04 -08:00
  • bdcef948a5 Cleanup compiler warnings Rian Quinn 2016-11-16 10:42:46 -07:00
  • a8c794602a Updated README.md for Visual Studio "15" support. Neil MacIntosh 2016-11-04 14:50:08 -07:00
  • 0d31109d41 Fixed compile flags for tests when using MSVC. Neil MacIntosh 2016-11-04 14:48:22 -07:00
  • 2b51b8767a Add span construction from unique_ptr and shared_ptr Rian Quinn 2016-11-03 19:55:41 -06:00
  • d641796b21 Cleanup additional GCC warnings Rian Quinn 2016-11-03 19:38:32 -06:00
  • 38f453d608 remove overly optimistic noexcept from some functions Vladislav Yaroslavlev 2016-11-03 23:15:33 +03:00
  • fb1a89fb14 Fix gsl::at()'s use of size_t Rian Quinn 2016-10-28 12:46:14 -06:00
  • f4486389b8 Fix overflow found by GCC in basic_zstring_span::as_string_span(). Rian Quinn 2016-10-28 00:45:54 -06:00
  • 6cffe0d14c Adds gsl::span::at() Rian Quinn 2016-10-26 15:11:24 -06:00
  • b07383ead1 [gsl_util] Update narrow_cast to use std::forward Rian Quinn 2016-10-18 12:52:45 -06:00
  • 1e95421889 [#392] Don't install tests Marc Mutz 2016-10-17 21:42:58 +02:00
  • a14f27474f [#391] string_length: Remove use of strnlen and use consistent length type. Josaphat Valdivia 2016-10-17 15:41:24 -04:00
  • 1287e624cd Address #313: try to guard against strict-aliasing bugs with gsl::byte MikeGitb 2016-10-17 20:36:11 +01:00
  • 9ef335ce32 Fix #388: Add explict default copy assignment operator for span_iterator Neil MacIntosh 2016-10-11 16:13:52 -07:00
  • 22a286cefe Fix #388 Deprecated implicit copy assignment operator for span_iterator in C++17. Gary Furnish 2016-10-09 18:01:46 -06:00
  • 32ca283d53 [span] fix size_t to index_type conversion warning Neil MacIntosh 2016-10-05 08:41:58 -07:00
  • 612747a5e1 For span, fix size_t to index_type conversion warning. Use narrow per discussion instead of static_cast. Gary Furnish 2016-10-04 21:13:18 -06:00
  • 023652e304 [Travis] enlarge the support matrix Neil MacIntosh 2016-09-30 14:52:36 -07:00
  • f953b792f0 [Travis] enlarge the support matrix Casey Carter 2016-09-27 22:02:49 -07:00
  • 0edabdba0c Add branch prediction to Ensures / Expects Neil MacIntosh 2016-09-29 12:58:55 -07:00
  • 3e5af6dc40 Fix compilation issues with Cygwin Neil MacIntosh 2016-09-29 12:51:37 -07:00
  • e898a890e0 [multi_span] Fix UB hack in static_bounds::operator=(const static_bounds&) Neil MacIntosh 2016-09-29 12:49:58 -07:00
  • 9e055be659 Fix compilation issues with Cygwin Rian Quinn 2016-09-28 10:00:47 -06:00
  • 3161d6133f Fix issue with VS builds Rian Quinn 2016-09-28 09:53:33 -06:00
  • 4b29878d70 Add branch prediction to Ensures / Expects Rian Quinn 2016-09-28 09:43:13 -06:00
  • 67717ea6ae [multi_span] Fix UB hack in static_bounds::operator= Casey Carter 2016-09-27 21:12:51 -07:00
  • 348a859547 Removed redundant static_cast<> and is_same<> test. Neil MacIntosh 2016-09-22 10:22:07 -07:00
  • e4a34128a8 Turn off warning about function-style casts in gsl_byte Neil MacIntosh 2016-09-21 13:21:14 -07:00
  • 4e7997190c Turn off warning about function-styl casts in gsl_byte Michael Balszun 2016-09-21 21:39:28 +02:00
  • fd5ad87bf2 Add tests for to_integer(), fix to_integer() Neil MacIntosh 2016-09-20 08:47:49 -07:00
  • e4de6cccdd Fix wrong types in multi_span_test for comparison operators. Neil MacIntosh 2016-09-20 08:46:27 -07:00
  • 75fb2236ed Fix negative indices to multi_span not being caught. Neil MacIntosh 2016-09-20 08:44:41 -07:00
  • 6cb0e3082a Added a fix for not flagging negative indices to multi_span. Krzysztof Wrzalik 2016-09-18 17:56:18 +02:00
  • 22c2785452 Added tests for negative multi-span access. Krzysztof Wrzalik 2016-09-18 17:44:45 +02:00
  • 95f465aeca fix wrong types in multi_span_test (<comparison_operators>) Michael Balszun 2016-09-17 16:09:21 +02:00
  • 6cf154e067 Fix to_integer() Martin Moene 2016-09-17 09:24:34 +02:00
  • ad991370da Add tests for to_integer(): they fail Martin Moene 2016-09-17 09:16:15 +02:00
  • 831be5de39 Removed redundant static_cast<> and is_same<> test. Neil MacIntosh 2016-09-14 22:01:02 -07:00
  • 8361aae39e Adding inline to all byte-related functions for MSVC 2013. Neil MacIntosh 2016-09-14 11:41:24 -07:00
  • edceed8075 Adding inline to all byte-related functions for MSVC 2013. Neil MacIntosh 2016-09-13 14:30:02 -07:00
  • 6bc1e7e709 Fix for #313 Corrected SFINAE for conversion constructors on span Neil MacIntosh 2016-09-13 12:19:19 -07:00
  • e40729a561 Added inline to byte member functions to fix MSVC 2013 warnings Neil MacIntosh 2016-09-13 12:17:17 -07:00
  • 2d74fd5c84 Added to_byte() helper function to fix issue #329 Neil MacIntosh 2016-09-13 12:10:42 -07:00
  • ad5275ca78 Added inline to fix compilation warnings on msvc 2013 Steve Brain 2016-09-13 16:07:34 +10:00
  • bc70a93bba Removed unnecessary reinterpret_cast<> from span implementation. Neil MacIntosh 2016-09-12 19:06:45 -07:00
  • 3b2419532e Corrected SFINAE for conversion constructors on span. Neil MacIntosh 2016-09-12 18:51:23 -07:00
  • d5847ceef0 Merge remote-tracking branch 'Microsoft/master' Kris 2016-09-07 22:16:19 +01:00
  • 7d083fd08c Issue #329, fixed build issues on clang Kris 2016-09-07 22:16:10 +01:00
  • 55b232dde4 Issue: #329 Kris Cruickshank 2016-09-07 21:38:43 +01:00
  • d23f4d931c Fix #350 typo in operator | for gsl::byte. Neil MacIntosh 2016-09-06 18:50:32 -07:00
  • 9e0807f1b1 Fix typo in operator | for gsl::byte. Neil MacIntosh 2016-09-06 18:45:53 -07:00
  • a360b81805 Fix #247: add to_basic_string(). Neil MacIntosh 2016-09-04 14:12:40 -07:00
  • ec109d2374 Add to_basic_string Gary Furnish 2016-09-04 00:29:10 -06:00
  • 95bbaa1ec2 Added to_byte method for issue #329 Kris 2016-08-28 21:55:58 +01:00
  • f8ef4e2355 Fix #340: define constexpr as /*constexpr*/ when unavailable (also noexcept) Neil MacIntosh 2016-08-27 10:51:00 -07:00
  • 5e2618b034 Specialize gsl::at for span Neil MacIntosh 2016-08-25 08:35:52 -07:00
  • 3aea9f7201 Define constexpr as /*constexpr*/ when unavailable (also noexcept) Martin Moene 2016-08-24 19:53:53 +02:00
  • deda5e6c46 Fix #332: update CMakeLists.txt to install all headers Neil MacIntosh 2016-08-24 10:13:02 -07:00
  • a8c5004b70 Update CMakeLists.txt Neil MacIntosh 2016-08-24 10:01:42 -07:00