forked from gsl-lite/gsl-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES.txt
137 lines (87 loc) · 4.52 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
Changes for GSL Lite – Guidelines Support Library for C++98/03 and later
version 0.11.0 2016-09-04
- Add missing byte comparisons (non-enum class case).
- Add missing gsl_noexcept to byte equality operator.
version 0.10.1 2016-09-02
- Use struct with unsigned char for byte with pre-C++17 (issue #34).
version 0.10.0 2016-08-31
- Remove operator bool() per issue #33.
- Remove deprecated gsl_CONFIG_THROWS_FOR_TESTING.
- Remove parentheses and allow lest to decompose span comparison expressions.
- Allow comparison of spans with a different element type or const-volatile-ness.
- Add gsl_CONFIG_ALLOWS_NONSTRICT_SPAN_COMPARISON for span comparison configuration.
version 0.9.1 2016-08-25
- Move conditional inclusion of cstdint out of namespace gsl.
version 0.9.0 2016-08-23
- Provide gsl/gsl header for compatibility with M-GSL.
- Add index_type to span while keeping size_type.
- Add gsl_noexcept to iterator creators begin() etc.
- Add at(std::initializer_list<T>, index).
- Add at(span<T>, index).
- Add call operator to span for element access as per p0122r3.
- Add test: empty spans compare equal as per p0122r3.
- Use span's size_type.
- Move at() to section utilities.
- Move comparison functions outside span.
- Deprecate span::value_type, use span::element_type per M-GSL, p0122r3.
- Remove non-const index operator, at().
version 0.8.0 2016-08-20
- Add operations for byte type.
version 0.7.5 2016-08-08
- Fix to create empty subspan, enabling slicing off data until span is empty (PR #26, thanks to Janusz Chorko).
version 0.7.4 2016-07-09
- Revert "Remove boundary check from operator[]()" of v0.7.3.
version 0.7.3 2016-07-08
- Removed boundary check from operator[]()
- Changed indexing to return non-const reference and make it STL compliant (issue #23, thanks to @marton78)
- Made converting constructors public (issue #22, thanks to @marton78).
version 0.7.2 2016-07-06
- Fixed as_span() for const arguments (thanks to Dave Tallman).
version 0.7.1 2016-07-01
- Fixed with_container_t to be literal type (thanks to Dave Tallman).
version 0.7.0 2016-06-30
- Added tagged construction from a container to span.
- Replaced gsl_CONFIG_ALLOWS_SPAN_CONTAINER_CTOR with gsl_CONFIG_ALLOWS_UNCONSTRAINED_SPAN_CONTAINER_CTOR
version 0.6.1 2016-06-29
- Fixed library for the removal of _HAS_CPP0X in VS2015 Update 3 (Issue #21, thanks to @exjam)
- Added tests tagged [.stdlangauge], [.stdlibrary] to inspect various gsl_HAVE_... macros.
- Added tag [.stdc++] to test to inspect __cplusplus.
- Updated lest test framework to version 1.27.0.
version 0.6.0 2016-06-25
- Renamed Final_act to final_act to follow standard library conventions.
- Fixed final_act to also work without copy-elision optimization, issue #19 (thanks to Marco Arena).
version 0.5.0 2016-06-24
- Added compatibility with MS GSL symbolic names for contract violation response control.
- Added contract violation response control as suggested in N4415, Simple Contracts for C++.
version 0.4.1 2016-06-23
- Added gsl_CONFIG_ALLOWS_SPAN_CONTAINER_CTOR for pre-C++11 (default: 1).
- Avoided std::distance() to support CUDA.
- Avoided shadowing according to the too-strict option -Wshadow of gcc before 4.8 (thanks to Dave Tallman).
- Removed comparisons of unsigned with zero.
- Fixed ensure_z() without length (thanks to Dave Tallman).
version 0.4.0 2016-05-28
- Added support for CUDA compilation.
version 0.3.2 2016-05-27
- Fixed compilation error in narrow() for VC11 (VS2012).
version 0.3.1 2016-05-25
- Added test for construction of a span from another span of a compatible type.
- Changed view to span in specification.
version 0.3.0 2016-05-24
- Added first(), last() and subspan().
- Improved example 02-span.cpp (thanks to Dave Tallman).
version 0.2.2 2016-05-23
- Fixed missing return in not_null copy-assignment (thanks to PVS-Studio).
version 0.2.1 2016-05-23
- Added several tests.
- Added definition of gsl_HAVE_DEFAULT_FUNCTION_TEMPLATE_ARG.
- Prevented using default function template argument in span for pre-VS2013 (VC12).
- Fixed compile error with clang targeting MSVC, PR #17 (Thanks to @ned14).
- Fixed data access of empty container, PR #16 (Thanks to @realzhtw).
version 0.2.0 2016-02-02
- Removed constructor span( U (&arr)[N], size_type size ), not part of M-GSL and in favour of:
- Changed constructor to span( pointer data, size_type size ), removing & from pointer & data (Thanks to @realzhtw).
- Added construction from an l-value for C++11 onwards.
version 0.1.0 2016-02-02
- Added move-construction and move-assignment to span<>.
version 0.0 2015-09-25
- Initial release.