We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43d52a1 commit b39a36aCopy full SHA for b39a36a
changelog/is_input_range_element.dd
@@ -1,7 +1,7 @@
1
isInputRange now takes an optional element type.
2
3
-isInputRange now takes an optional 2nd template parameter that
4
-defaults to void. If not void, it only evaluates to true if the
5
-range's element type is convertible to passed-in parameter. For
6
-instance, `isInputRange!(int[], int)` is true, but
+isInputRange now has an optional 2nd template parameter that defaults
+to void. If not void, it only evaluates to true if the range's element
+type is the same type as this extra argument, modulo const. For
+instance, `isInputRange!(int[], const(int))` is true, but
7
`isInputRange!(int[], string)` is false.
0 commit comments