Neil MacIntosh
d0f09e768e
Merge branch 'master' of https://github.com/Microsoft/GSL
...
Conflicts:
include/array_view.h
2015-10-15 16:38:53 -07:00
Neil MacIntosh
f45fedbec2
Partway through removing configurable SizeType.
2015-10-15 14:29:35 -07:00
Neil MacIntosh
7d55c08330
Merge pull request #146 from annagrin/dev/annagrin/remove_coordinate_facade
...
Remove unnecessary coordinate_facade class.
2015-10-15 13:31:54 -07:00
Anna Gringauze
2cdedda7e4
Adding missing include library to array_view.h
2015-10-15 13:19:24 -07:00
Anna Gringauze
f972b2d68c
Adding g++-5 libraries to clang travis configuration to fix build break
2015-10-15 13:00:10 -07:00
Anna Gringauze
fdf8643471
Fixes for gcc
2015-10-14 21:27:41 -07:00
Anna Gringauze
546f8cc130
Added tests for index size_type conversions
2015-10-12 18:35:21 -07:00
Anna Gringauze
db38497d05
Removed coordinate_facade class
2015-10-12 16:52:11 -07:00
Neil MacIntosh
e0d10d1d1c
Merge pull request #126 from trebconnell/removemaybe
...
Fix #123 remove maybe_null
2015-10-10 11:45:07 -07:00
Treb Connell
fda8e12310
Fix #124 remove maybe_null
2015-10-05 13:34:50 -07:00
Neil MacIntosh
3fd9f249da
Merge pull request #122 from kkoenig/fix_stringview_test
...
First arg of vector ctor should be num elements, second should be val…
2015-10-05 08:49:35 -07:00
kkoenig
144ee44132
First arg of vector ctor should be num elements, second should be value. Fixes issue #121
2015-10-03 22:02:49 -07:00
Neil MacIntosh
f0262f5099
Merge pull request #117 from trebconnell/finalact
...
Fix moving a final_act twice
2015-10-02 16:28:29 -07:00
Treb Connell
b8ec73a179
Fix moving a final_act twice
2015-10-02 15:58:23 -07:00
Neil MacIntosh
df88352c1d
Merge pull request #57 from kernhanda/kernhanda/use_algorithms
...
We should be using standard algorithms where possible.
2015-10-02 09:12:26 -07:00
Neil MacIntosh
90c5b2b80b
Merge pull request #115 from socantre/add-column-limit
...
Add column limit to .clang-format
2015-10-02 09:09:50 -07:00
Seth Cantrell
dd923eee5f
Add column limit to .clang-format
2015-10-01 20:53:37 -04:00
Neil MacIntosh
87f7f30a90
Merge pull request #68 from socantre/master
...
Add .clang-format file
2015-10-01 13:37:36 -07:00
Neil MacIntosh
b51098a83d
Merge pull request #113 from neilmacintosh/master
...
Improved macros used for non-compliant compilers. Fixes #82 .
2015-09-30 22:05:27 -07:00
Neil MacIntosh
d531680a31
Improved macros used for non-compliant compilers.
2015-09-30 21:54:08 -07:00
Neil MacIntosh
398abc8fa6
Merge pull request #111 from neilmacintosh/master
...
Adding noexcept to finally, final_act, narrow_cast. Fixes #92 .
2015-09-30 15:15:01 -07:00
Neil MacIntosh
831c6926df
Adding noexcept to finally, final_act, narrow_cast. Fixes #92 .
2015-09-30 15:10:24 -07:00
Neil MacIntosh
c5c8a25f34
Merge pull request #110 from neilmacintosh/master
...
Renamed Final_act to final_act as per issue #91 .
2015-09-30 12:45:00 -07:00
Neil MacIntosh
d06f7ff779
Renamed Final_act to final_act as per issue #91 .
2015-09-30 12:39:18 -07:00
Neil MacIntosh
fcff3fded1
Merge pull request #107 from RicoAntonioFelix/master
...
Commit to address issue #103...
2015-09-30 12:15:52 -07:00
RicoAntonioFelix
e8ff01e543
Commit to address issue #103...
2015-09-30 12:50:42 -04:00
Neil MacIntosh
38a659c428
Merge pull request #105 from neilmacintosh/master
...
Correct misleading text in static_assert. Fixes issue #67 .
2015-09-29 17:06:45 -07:00
Neil MacIntosh
761554f68d
Correct misleading text in static_assert. Fixes issue #67 .
2015-09-29 16:54:00 -07:00
Neil MacIntosh
25c90750f2
Merge pull request #104 from neilmacintosh/master
...
Renamed namespace to 'gsl'. Renamed macro to configure testing.
2015-09-29 16:46:34 -07:00
Neil MacIntosh
ef626fd33a
Renamed namespace to 'gsl'. Renamed macro to configure testing.
2015-09-29 16:41:37 -07:00
Neil MacIntosh
d023ad51a7
Merge pull request #90 from john-lynch/master
...
Fixing move constructor/semantics of Final_act
2015-09-28 23:15:24 -07:00
john-lynch
ae24c0fe06
Added test that Final_act object can be moved properly. While this is not a common case, it may happen if the user calls finally and the compiler fails to perform RVO.
2015-09-29 00:03:15 -05:00
john-lynch
1d11cd1ed1
Fixing typo in move constructor implementation that resulted in compile error during tests.
2015-09-29 00:00:21 -05:00
john-lynch
422e7164d5
Fixing move constructor of Final_act to take non-const r-value reference and move properly from other Final_act object so that correctness is not dependent on copy elison.
2015-09-28 23:40:25 -05:00
Neil MacIntosh
065f4880c3
Merge pull request #88 from trebconnell/fixmaybenull
...
Fix issue #49
2015-09-28 18:54:31 -07:00
Treb Connell
444bf9640a
Fix issue #49
2015-09-28 18:49:53 -07:00
Neil MacIntosh
318cee0489
Merge pull request #87 from trebconnell/fixmaybenull
...
Fix issue #50
2015-09-28 18:40:57 -07:00
Neil MacIntosh
6a1179974d
Merge pull request #86 from kevgs/master
...
it's better to pass a small (e.g. 16 bytes) object by value then by c…
2015-09-28 18:39:26 -07:00
Treb Connell
83333419de
Add test that reproduces issue
2015-09-28 18:34:04 -07:00
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
Treb Connell
27ff004e84
Merge branch 'master' into fixmaybenull
...
Conflicts:
include/gsl.h
tests/maybenull_tests.cpp
2015-09-28 14:56:08 -07:00
Kosov Eugene
e46160c18e
it's better to pass a small (e.g. 16 bytes) object by value then by const reference
2015-09-28 23:20:28 +03:00
Neil MacIntosh
08064f8521
Merge pull request #85 from kevgs/master
...
fix clang -Wunused-parameter warnings
2015-09-28 11:28:55 -07:00
Kosov Eugene
3402b92ef6
fix clang -Wunused-parameter warnings
2015-09-28 21:20:02 +03:00
Neil MacIntosh
3571792058
Merge pull request #78 from kernhanda/kernhanda/heterogenous-assignment-not_null
...
Add various copy assignment operators to not_null and maybe_null_*.
2015-09-28 07:05:43 -07:00
Gabriel Dos Reis
6554e83c79
Macro expand constexpr
to nothing under MSVC
...
Replace `_CONSTEXPR` with plain `constexpr`.
2015-09-28 05:10:44 -07:00
Gabriel Dos Reis
4e596761eb
Update list of known platforms where GSL was successfully tested
2015-09-28 04:43:59 -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