Neil MacIntosh
82389aa630
Fixed up iterator implementation to allow conversion from iterator to
...
const_iterator.
2016-08-08 12:06:47 -07:00
Neil MacIntosh
9ab3a2ac39
Merge pull request #311
...
Implemented #260 .
2016-08-03 15:30:30 -07:00
Som1Lse
c4817358aa
Implemented https://github.com/Microsoft/GSL/issues/260
2016-08-03 22:28:25 +02:00
Neil MacIntosh
4235b060fd
Merge pull request #207 from jasonhorsburgh/cmake_install
...
Add CMake install target for header files
2016-08-03 10:37:10 -07:00
Neil MacIntosh
db9d3da029
Merge branch 'master' of https://github.com/neilmacintosh/GSL into dev/neilmac/fix_mismatched_pragma
2016-08-02 18:10:07 -07:00
Neil MacIntosh
ebce4920d6
Fixed #308 - a mismatched pragma.
2016-08-02 16:22:18 -07:00
Neil MacIntosh
7272552bf9
Updating span<T> to reflect standardization. (PR #309 )
...
Updating span<T> to reflect standardization.
2016-08-02 15:14:11 -07:00
Neil MacIntosh
3836e124d8
Added code of conduct statement to README.
2016-08-02 14:59:57 -07:00
Neil MacIntosh
6c7be2c8ee
clang-format run.
2016-08-01 21:41:20 -07:00
Neil MacIntosh
94afa1fbd7
Removed unnecessary inheritance between iterators.
2016-08-01 18:49:48 -07:00
Neil MacIntosh
1bd2d04c2e
Another round of clang-formatting.
2016-08-01 13:10:02 -07:00
Neil MacIntosh
8e31f53f8a
Building clean with MSVC12.
2016-07-29 11:16:06 -07:00
Neil MacIntosh
a0cf1ecc49
Renamed as_span() to as_multi_span() for clarity.
2016-07-28 17:27:22 -07:00
Neil MacIntosh
a88cfb168a
Fixed type-name mixup in string_span.
2016-07-27 13:48:29 -07:00
Neil MacIntosh
6fadce975b
Applied clang-format.
2016-07-26 19:19:47 -07:00
Neil MacIntosh
4de3d4e3e3
Fixes for Clang 3.6 compilation.
2016-07-26 18:44:13 -07:00
Neil MacIntosh
c366f4415d
Fixed compilation issues for GCC on Linux.
2016-07-26 18:34:27 -07:00
Neil MacIntosh
b03b04bfcd
Applied clang-format to the source.
2016-07-20 13:17:47 -07:00
Neil MacIntosh
ca4cdd80de
64-bit clean fixes.
2016-07-20 12:47:21 -07:00
Neil MacIntosh
cd80ef6146
Merge branch 'master' into dev/neilmac/spec
2016-07-20 12:02:51 -07:00
Neil MacIntosh
eed99d8599
Merge branch 'master' into dev/neilmac/spec
2016-07-20 09:30:05 -07:00
Neil MacIntosh
f2ab3a5c54
Tidying up noexcepts.
2016-07-20 09:24:49 -07:00
Neil MacIntosh
5e7771f879
Slight tidy-up to precondition checking in span.
2016-07-20 09:00:10 -07:00
Neil MacIntosh
0c1b6717c1
Weakened cast in span::iterator.
2016-07-20 08:52:09 -07:00
Neil MacIntosh
520c72d777
Tidied up assertion.
2016-07-18 12:00:33 -07:00
Neil MacIntosh
30a038ca6a
Added tests for span iterators, fixed implementation.
2016-07-18 11:38:01 -07:00
Neil MacIntosh
8855c59579
Added basic compile support for MSVC 2013 to byte.
2016-07-15 17:31:40 -07:00
Neil MacIntosh
267472449c
Renamed byte header and tidied up string_span dependencies.
2016-06-26 17:00:56 +03:00
Neil MacIntosh
0535138459
Merge pull request #289 from ericLemanissier/patch-1
...
gsl::at overload for initializer_list
2016-06-24 05:35:31 -07:00
Neil MacIntosh
b72d7abfb0
Added definition of gsl::byte to match proposed std::byte.
2016-06-24 04:54:09 -07:00
Neil MacIntosh
7b00172f00
Final sync with D0122R3 version of specification.
2016-06-20 01:41:49 -07:00
Neil MacIntosh
64598bc0f7
Cleaned up last() functions to match spec.
2016-06-14 20:20:09 -07:00
Neil MacIntosh
62f30205e5
Additional std::array ctor to support const element cases.
2016-06-14 20:14:17 -07:00
Neil MacIntosh
c94a66f468
Tightened SFINAE for span<U> to span<T> conversions.
2016-06-12 18:28:19 -07:00
Neil MacIntosh
ba8ebef509
Added span to object rep conversions.
2016-05-29 17:06:29 -07:00
Neil MacIntosh
d63c9803da
Added comparison operators.
2016-05-29 14:05:09 -07:00
Neil MacIntosh
25ff7eca1f
Removed some redundant parens.
2016-05-29 13:54:19 -07:00
Neil MacIntosh
d9d6ff0121
Added iterators.
2016-05-29 13:52:28 -07:00
Neil MacIntosh
b94a220c4a
Corrected typo identified in #288 .
2016-05-13 11:50:25 -07:00
ericLemanissier
9d8866a732
gsl::at overload for initializer_list
...
initializer_list do not have subscript operator, so the generic container overload of gsl::at fails to compile.
This commits adds an overload of gsl::at for initializer_lists, using *(initializer_list::begin()+index) instead of subscript operator
2016-05-09 15:27:17 +02:00
Neil MacIntosh
a9f865900d
Merge pull request #281 from neilmacintosh/master
...
Suppressed CppCoreCheck warnings.
2016-03-31 13:47:18 -07:00
Neil MacIntosh
a9f0ce2f77
Suppressed CppCoreCheck warnings.
2016-03-31 12:01:07 -07:00
Neil MacIntosh
5ae7e71f09
Merge pull request #268 from galik/master
...
Fix: Issue: #267 gsl::fail_fast only defined for one configuration
2016-03-24 17:34:16 -07:00
galik
46662d96d0
Merge remote-tracking branch 'upstream/master'
2016-03-25 00:23:42 +00:00
Neil MacIntosh
511c2da4e0
Merge pull request #276 from sergiyor/dev/sergiyor/submodules
...
Making unittest-cpp a submodule.
2016-03-24 17:06:52 -07:00
Sergiy Oryekhov
38d8a3f82d
Updating travis script.
2016-03-24 16:59:45 -07:00
Sergiy Oryekhov
79030c5586
Moving submodule init before subdirectory.
2016-03-23 16:53:00 -07:00
Sergiy Oryekhov
32d00796ad
Adding unittest-cpp as a submodule.
2016-03-23 16:42:35 -07:00
Neil MacIntosh
85939048b4
Test for operator function call.
2016-03-18 16:53:16 -07:00
Neil MacIntosh
c8a412f028
Implemented first, last, subspan.
2016-03-18 16:49:29 -07:00