Bas Hendri
0ab350f5de
enables iOS and Android testing
2020-05-04 13:26:50 -07:00
Robert Andrzejuk
84847041ee
In narrow
refactor !is_same_signedness
to is_different_signedness
2020-04-29 20:39:44 +02:00
Robert Andrzejuk
1e5f44d3ea
Refactor narrow
- simplify & move is_same_signedness
into function, remove uneeded detail
namespace. Merge 2 if
's with a ||
.
2020-04-29 20:11:44 +02:00
leha-bot
de053645bb
CMakeLists: Drop ARCH_INDEPENDENT as it does not supported via old CMake
2020-04-28 13:07:41 +03:00
Werner Henze
29297e7dac
noexcept for make_(strict_)not_null and not_null comparisons
2020-04-27 14:42:56 +02:00
Alex
879335cebf
CMakeLists: add VERSION to project() and package
...
So the library consumers via find_package(Microsoft.GSL 3.0.2) could determine the actual library version.
2020-04-26 18:09:49 +03:00
Jordan Maples [MSFT]
1999b48a51
Merge pull request #870 from beinhaerter/suppress_span_warning
...
suppress code analysis warning
2020-04-23 10:13:33 -07:00
Jordan Maples [MSFT]
3da256d03b
Merge pull request #874 from JordanMaples/dev/jomaples/multi_span-cleanup
...
Minor changes to multi_span
2020-04-23 10:13:04 -07:00
Jordan Maples [MSFT]
601b55ea61
Merge pull request #873 from londey/narrow-throw
...
Changed implementation of gsl::narrow to throw gsl::narrowing_error
2020-04-22 22:57:14 -07:00
Nicholas Londey
3a5b83db35
Removed unused contant from test
2020-04-23 12:30:44 +10:00
Nicholas Londey
94d6a35726
Fixed narrow unit test EXPECT_THROW
2020-04-23 12:23:36 +10:00
Nicholas Londey
14acdcd7a8
Removed unused #include
2020-04-23 12:22:30 +10:00
Nicholas Londey
4eb554d7c2
Removed no_exception_throw_tests.cpp
...
as per review feedback
2020-04-23 11:58:00 +10:00
Jordan Maples [MSFT]
70e1317ab6
Update include/gsl/gsl
2020-04-22 15:27:00 -07:00
Nicholas Londey
61534ca3ad
Changed implementation of gsl::narrow to throw gsl::narrowing_error
...
Implementation now behaves as described in the C++ Core Guidlines
2020-04-22 10:09:13 +10:00
Jordan Maples
afa2f3fd9a
fully qualify ptrdiff_t in multi_span and remove it from gsl\gsl
2020-04-21 16:14:58 -07:00
Werner Henze
fb1243d735
suppress code analysis warning
...
- suppress " warning C26481: Don't use pointer arithmetic. Use span instead (bounds.1)."
- Please note that the suppression in `end()` does not work with MSVC 16.5.4.
2020-04-19 16:41:12 +02:00
Jordan Maples [MSFT]
9f6a9a5807
Merge pull request #867 from xvitaly/fix-cmake-install
...
Fixed installation on GNU/Linux distributions
2020-04-17 10:18:37 -07:00
Vitaly Zaitsev
aeb65efada
Fixed installation on GNU/Linux distributions.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-04-17 11:47:23 +02:00
Jordan Maples [MSFT]
b43855631a
Merge pull request #861 from JordanMaples/dev/jomaples/lwg3320
...
implement LWG3320
2020-04-15 10:00:55 -07:00
Jordan Maples
9cb376c050
adding back free functions for [c|cr][begin|end]
2020-04-14 16:57:12 -07:00
Jordan Maples
7341c5d1b5
implement LWG3320 by deleting const_iterator and const_reverse_iterator
2020-04-14 13:51:49 -07:00
Jordan Maples [MSFT]
044849d6fa
Merge pull request #823 from RedDwarf69/std_byte_fix
...
Add missing #include if built with GSL_USE_STD_BYTE=1
2020-04-13 11:33:56 -07:00
Jordan Maples [MSFT]
24dc828cbb
Merge pull request #860 from karzhenkov/fix-googletest-link
...
Fix link to Google Test
2020-04-13 10:35:19 -07:00
Alexander Karzhenkov
8b8c25fa66
Fix link to Google Test
2020-04-13 18:19:51 +05:00
Jordan Maples [MSFT]
f7aae78ff6
Merge pull request #854 from JordanMaples/dev/jomaples/LWG3255
...
Implement span std::array ctor changes from LWG3255
2020-04-09 23:42:04 -07:00
Jordan Maples
efbce17ca4
testing one of CaseyCarter's comments
2020-04-09 17:33:33 -07:00
Jordan Maples
ffbfcc0a9f
apply clang-format to the span_compatibility_tests.
2020-04-09 16:15:08 -07:00
Jordan Maples
5ca02327c4
another test
2020-04-09 15:56:26 -07:00
Jordan Maples
8d907dadfb
prevent comparison for apple clang versions older than 11
2020-04-09 14:35:44 -07:00
Jordan Maples
b7d9d754ac
another attempt at apple clang version filtering
2020-04-09 14:17:52 -07:00
Jordan Maples
809aee2315
testing different major/minor for Apple suppression
2020-04-09 11:51:59 -07:00
Jordan Maples
6ef56d73da
fixed a couple typos
2020-04-09 10:35:44 -07:00
Jordan Maples
2f9d873043
added additional filtering to Apple clang versions 9.4 and 10.1 for the ArrayConvertibilityCheck
2020-04-09 10:34:58 -07:00
Jordan Maples
f85166aa8b
Merge branch 'master' into dev/jomaples/LWG3255
2020-04-09 09:53:45 -07:00
Jordan Maples [MSFT]
b0b933b842
Merge pull request #858 from Farwaykorse/patch-1
...
Solve MSVC warning C4668: __GNUC__ & __clang__ not defined
2020-04-08 23:21:08 -07:00
Jordan Maples [MSFT]
bc7ea7aac7
Merge pull request #859 from Farwaykorse/patch-2
...
Suppress GCC 8 "-Warray-bounds" warning
2020-04-08 23:20:44 -07:00
Farwaykorse
611674d60b
GCC "-Warray-bounds" warning persists with release 8.4
...
modification of commit 5e21831494
2020-04-09 03:50:17 +02:00
Farwaykorse
6e2398b524
Solve MSVC warning C4668: __GNUC__ & __clang__ not defined as a preprocessor macro
...
MSVC compiler warning C4668:
` '__clang__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'`
2020-04-09 03:15:57 +02:00
Jordan Maples
ff45864dba
Merge branch 'dev/jomaples/LWG3255' of https://github.com/JordanMaples/GSL into dev/jomaples/LWG3255
2020-04-08 14:48:05 -07:00
Jordan Maples
15dd17aa5b
Merge branch 'master' into dev/jomaples/LWG3255
2020-04-08 14:47:08 -07:00
Jordan Maples [MSFT]
c5dd0e6d40
Merge pull request #3 from JordanMaples/dev/jomaples/lwg3255
...
adding additional filtering
2020-04-08 14:43:15 -07:00
Jordan Maples
01d206f4d8
adding additional filtering
2020-04-08 14:38:01 -07:00
Pavel P
830b081de7
Fix debugger visualizer for Ext=gsl::dynamic_extent
...
VS 2019 doesn't seem to match -1 for size_t template parameter, as a result dynamic span/basic_string_span/basic_zstring_span show extent as `extent = 4294967295` (for 32-bit builds). This change updates details::extent_type to have static constexpr size_ parameter for non-dynamic span/basic_string_span/basic_zstring_span and simplifies/removes dynamic versions from GSL.natvis
fixes #856
2020-03-28 01:59:04 +06:00
Jordan Maples [MSFT]
226a854a97
Merge pull request #835 from Farwaykorse/TravisCI
...
Improve CI with TravisCI
2020-03-26 15:00:27 -07:00
Roelf-Jilling
5e21831494
Suppress test for GCC 8.3 triggering "-Warray-bounds"
2020-03-26 20:15:29 +01:00
Roelf-Jilling
04809f8559
TravisCI: moved "based on" comment to relevant legacy section
2020-03-26 17:16:32 +01:00
Roelf-Jilling
511faf07d4
TravisCI: remove deprecated key "sudo" and replace alias "matrix" for "jobs"
2020-03-26 17:04:01 +01:00
Roelf-Jilling
610c40333d
TravisCI: add Clang-10
2020-03-26 16:29:27 +01:00
Roelf-Jilling
30c068781f
Merge branch 'master' into TravisCI
2020-03-26 16:24:19 +01:00