1
1
Release Notes {#release_notes}
2
2
=============
3
3
4
+ \section v0-10-0 Version 0.10.0 "To Err is Human"
5
+
6
+ _ Released:_ Dec 6, 2019.
7
+
8
+ ** IMPORTANT:** Before upgrading, please note that several older compiler versions
9
+ and build configurations are no longer supported! In particular, MSVC now needs
10
+ ` /std:c++latest ` .
11
+
12
+ ** ALSO:** When taking a dependency on the ` range-v3 ` , ` meta ` , or ` concepts `
13
+ libraries via CMake, please now use the namespace qualified target names:
14
+ - ` range-v3::range-v3 `
15
+ - ` range-v3::meta `
16
+ - ` range-v3::concepts `
17
+
18
+ Changes:
19
+ * ** NEW:** Rewritten concepts portability layer with simpler macros for better
20
+ diagnostics.
21
+ * ** NEW:** The ` views::cache1 ` view caches the most recent value in the
22
+ range. This can help avoid reevaluation of transformations in complex view
23
+ pipelines.
24
+ * ** NEW:** ` ranges::contains ` algorithm.
25
+ * ** NEW:** ` enable_safe_range ` trait for opting in to the _ forwarding-range_
26
+ concept. These are ranges whose iterators remain valid even after the
27
+ range itself has been destroyed; _ e.g._ , ` std::string_view ` and
28
+ ` ranges::subrange ` .
29
+ * The ` readable ` concept has changed such that types that are not _ indirectly_
30
+ readable with ` operator* ` (_ e.g., ` std::optional ` ) no longer satisfy that
31
+ concept.
32
+ * Using ` views::join ` to join a range of xvalue ranges works again.
33
+ * The following range access primitives no longer accept temporary containers
34
+ (_ i.e._ , they refuse to return references known to be dangling):
35
+ - ` range::front `
36
+ - ` range::back `
37
+ - ` range::at `
38
+ - ` range::index `
39
+ * ` views::concat ` with a single argument now simply returns its argument.
40
+ * ` ranges::ostream_iterator<T> ` now coerces arguments to ` T ` before inserting
41
+ them into the wrapped ostream.
42
+ * Smaller iterators for ` views::transform ` and ` views::take_while ` .
43
+ * ` actions::split ` and ` actions::split_when ` now support partial application and
44
+ pipelining ([ \# 1085] ( https://github.com/ericniebler/range-v3/issues/1085 ) ).
45
+ * ` views::group_by ` and its iterator both get a ` .base() ` member to access the
46
+ underlying range and iterator, respectively.
47
+ * Improved diagnostics with clang.
48
+ * Assorted bug fixes and compiler work-arounds:
49
+ [ \# 284] ( https://github.com/ericniebler/range-v3/issues/284 ) ,
50
+ [ \# 491] ( https://github.com/ericniebler/range-v3/issues/491 ) ,
51
+ [ \# 499] ( https://github.com/ericniebler/range-v3/issues/499 ) ,
52
+ [ \# 871] ( https://github.com/ericniebler/range-v3/issues/871 ) ,
53
+ [ \# 1022] ( https://github.com/ericniebler/range-v3/issues/1022 ) ,
54
+ [ \# 1043] ( https://github.com/ericniebler/range-v3/issues/1043 ) ,
55
+ [ \# 1081] ( https://github.com/ericniebler/range-v3/issues/1081 ) ,
56
+ [ \# 1085] ( https://github.com/ericniebler/range-v3/issues/1085 ) ,
57
+ [ \# 1101] ( https://github.com/ericniebler/range-v3/issues/1101 ) ,
58
+ [ \# 1116] ( https://github.com/ericniebler/range-v3/issues/1116 ) ,
59
+ [ \# 1296] ( https://github.com/ericniebler/range-v3/issues/1296 ) ,
60
+ [ \# 1305] ( https://github.com/ericniebler/range-v3/issues/1305 ) , and
61
+ [ \# 1335] ( https://github.com/ericniebler/range-v3/issues/1335 ) .
62
+
63
+ Many thanks to GitHub users @CaseyCarter , @morinmorin , @h-2 , @MichaelWJung ,
64
+ @johelegp , @marehr , @alkino , @xuning97 , @BRevzin , and @mpusz for their
65
+ contributions.
66
+
4
67
\section v0-9-1 Version 0.9.1
5
68
6
69
_ Released:_ Sept 1, 2019.
@@ -13,7 +76,7 @@ _Released:_ Aug 26, 2019.
13
76
14
77
Bring many interfaces into sync with the C++20 draft.
15
78
16
- * ** NEW:** An improved concepts portability layer with macros that use C++20
79
+ * ** NEW:** An improved concepts portability layer with macros that use C++20
17
80
concepts when the compiler supports them.
18
81
* ** NEW:** An improved directory structure that keeps disjoint parts of the
19
82
library -- iterators, ranges, algorithms, actions, views, functional
0 commit comments