Treb Connell
b29566628e
Revert "Fix issue #49 "
...
This reverts commit a46d6fcf0d
.
2015-09-28 18:26:35 -07:00
Treb Connell
a46d6fcf0d
Fix issue #49
2015-09-28 15:17:37 -07:00
Kern Handa
7d8e609faf
Merge remote-tracking branch 'upstream/master' into kernhanda/heterogenous-assignment-not_null
2015-09-28 07:37:06 +00:00
Kern Handa
783eaabf9d
Add various copy assignment operators to not_null and maybe_null_*.
...
Also removed unused constant member variable that seemed to be there
to prevent maybe_null_* being used with anything other than a pointer,
which is being taken care of with a static_assert now.
2015-09-28 07:35:18 +00:00
Neil MacIntosh
bb169976da
Fixed leak in owner<> test. Ha ha ha!
2015-09-27 18:06:51 -07:00
Kern Handa
2b6d90436f
not_null and maybe_null variants should only work on nullptr-assignable types.
...
This is in accordance with the GSL.View guidance on not_null and maybe_null
types in the CppCoreGuidelines document.
2015-09-27 19:35:23 +00:00
Neil MacIntosh
8ae77b1fd5
Merge pull request #46 from trebconnell/fixmaybenull
...
Fix issue #45 : comparing two maybe_null_dbg's can cause fail_fast
2015-09-24 15:22:43 -07:00
Treb Connell
996aa06e08
Fix issue #45 : comparing two maybe_null_dbg's can cause fail_fast
2015-09-24 14:09:40 -07:00
Tamas Kenez
9b454b7a9b
add travis testing (gcc5, clang36)
...
- also relaxed CMake version to 2.8.7, the version default in travis
2015-09-23 17:43:36 +02:00
David Capello
5d9aae7430
Add add_gsl_test() function in tests/CMakeLists.txt
...
With this function we can avoid duplicated code to add a new test.
2015-09-21 16:04:06 -03:00
Neil MacIntosh
05e6b6dd4b
Added missing owner<T>, corrected array_view::sub().
2015-09-20 19:18:12 -07:00
Anna Gringauze
1a86498733
Formatting
2015-09-14 18:55:06 -07:00
Neil MacIntosh
54ec02fef6
Fixing misformatting of ArrayViewComparison.
2015-09-14 18:04:40 -07:00
Neil MacIntosh
3ff9b17a9f
Restoring empty_array_view tests.
2015-09-14 17:57:29 -07:00
Neil MacIntosh
c6a2f8c086
Testing tab fixup.
2015-09-14 17:51:31 -07:00
Neil MacIntosh
383dc507a4
Fixes for review feedback.
2015-09-14 15:41:40 -07:00
Neil MacIntosh
9a29712022
Ensuring compilation works for VS 2013.
2015-09-14 15:11:07 -07:00
Neil MacIntosh
ef6cc65053
Fixed compilation issues with Clang and GCC on Linux.
2015-09-14 21:26:17 +00:00
Anna Gringauze
17ed5c3664
Fixed issues in strided_array_views, added tests
2015-09-14 13:03:28 -07:00
Neil MacIntosh
75f31dabe9
Removed Debug build warnings from MSVC STL.
2015-08-27 22:15:44 -07:00
Neil MacIntosh
9f9fad9620
Implemented comparison operators on array_view.
2015-08-27 18:13:49 -07:00
Anna Gringauze
5e945461c9
Fixed unittest directory check to look in the source directory
2015-08-25 11:50:58 -07:00
Neil MacIntosh
a9dcbe04ff
Initial commit of library files.
2015-08-20 18:09:14 -07:00