diff --git a/std/array.d b/std/array.d index 2a6d087ab..a62e87814 100644 --- a/std/array.d +++ b/std/array.d @@ -344,7 +344,9 @@ if (isNarrowString!String) /** Returns a newly allocated associative _array from a range of key/value tuples. -Params: r = An input range of tuples of keys and values. +Params: + r = An $(REF_ALTTEXT input range, isInputRange, std,range,primitives) + of tuples of keys and values. Returns: A newly allocated associative array out of elements of the input range, which must be a range of tuples (Key, Value). Returns a null associative array reference when given an empty range. @@ -410,8 +412,8 @@ Construct a range iterating over an associative array by key/value tuples. Params: aa = The associative array to iterate over. -Returns: A forward range of Tuple's of key and value pairs from the given -associative array. +Returns: A $(REF_ALTTEXT forward range, isForwardRange, std,_range,primitives) +of Tuple's of key and value pairs from the given associative array. */ auto byPair(Key, Value)(Value[Key] aa) { @@ -836,7 +838,8 @@ private void copyBackwards(T)(T[] src, T[] dest) Params: array = The array that $(D stuff) will be inserted into. pos = The position in $(D array) to insert the $(D stuff). - stuff = An input range, or any number of implicitly convertible items to insert into $(D array). + stuff = An $(REF_ALTTEXT input range, isInputRange, std,range,primitives), + or any number of implicitly convertible items to insert into $(D array). +/ void insertInPlace(T, U...)(ref T[] array, size_t pos, U stuff) if (!isSomeString!(T[]) @@ -1563,7 +1566,8 @@ private enum bool hasCheapIteration(R) = isArray!R; into one array using `sep` as the separator if present. Params: - ror = An input range of input ranges + ror = An $(REF_ALTTEXT input range, isInputRange, std,range,primitives) + of input ranges sep = An input range, or a single element, to join the ranges on Returns: diff --git a/std/conv.d b/std/conv.d index bdd913dad..dc8dbb005 100644 --- a/std/conv.d +++ b/std/conv.d @@ -1877,7 +1877,7 @@ This overload converts an character input range to a `bool`. Params: Target = the type to convert to - source = the lvalue of an input range + source = the lvalue of an $(REF_ALTTEXT input range, isInputRange, std,range,primitives) Returns: A `bool` @@ -1972,7 +1972,8 @@ Lerr: } /** -Parses a character input range to an integral value. +Parses a character $(REF_ALTTEXT input range, isInputRange, std,range,primitives) +to an integral value. Params: Target = the integral type to convert to @@ -3237,7 +3238,7 @@ Parsing one character off a range returns the first element and calls `popFront` Params: Target = the type to convert to - s = the lvalue of an input range + s = the lvalue of an $(REF_ALTTEXT input range, isInputRange, std,range,primitives) Returns: A character of type `Target` @@ -3339,7 +3340,7 @@ spells `"null"`. This function is case insensitive. Params: Target = the type to convert to - s = the lvalue of an input range + s = the lvalue of an $(REF_ALTTEXT input range, isInputRange, std,range,primitives) Returns: `null` diff --git a/std/string.d b/std/string.d index eb6801dcc..f2751e9b2 100644 --- a/std/string.d +++ b/std/string.d @@ -2861,7 +2861,8 @@ if (isConvertibleToString!Range) Strips leading whitespace (as defined by $(REF isWhite, std,uni)). Params: - input = string or ForwardRange of characters + input = string or $(REF_ALTTEXT forward range, isForwardRange, std,range,primitives) + of characters Returns: $(D input) stripped of leading whitespace. @@ -3414,7 +3415,8 @@ if (isConvertibleToString!Range) $(D delimiter), then it is returned unchanged. Params: - str = string or forward range of characters + str = string or $(REF_ALTTEXT forward range, isForwardRange, std,range,primitives) + of characters delimiter = string of characters to be sliced off front of str[] Returns: @@ -3840,7 +3842,8 @@ if (isSomeString!S) $(D s) doesn't fill. Params: - r = string or forward range of characters + r = string or $(REF_ALTTEXT forward range, isForwardRange, std,range,primitives) + of characters width = minimum field width fillChar = used to pad end up to $(D width) characters @@ -4066,7 +4069,8 @@ unittest $(D r) doesn't fill. Params: - r = string or forward range of characters + r = string or $(REF_ALTTEXT forward range, isForwardRange, std,range,primitives) + of characters width = minimum field width fillChar = used to pad end up to $(D width) characters @@ -4226,7 +4230,7 @@ if ((isForwardRange!Range && isSomeChar!(ElementEncodingType!Range)) necessary to align the following character at the next tab stop. Params: - r = string or forward range + r = string or $(REF_ALTTEXT forward range, isForwardRange, std,range,primitives) tabSize = distance between tab stops Returns: @@ -4455,7 +4459,7 @@ if (!(isForwardRange!Range && isSomeChar!(ElementEncodingType!Range)) && All spaces and tabs at the end of a line are removed. Params: - r = string or forward range + r = string or $(REF_ALTTEXT forward range, isForwardRange, std,range,primitives) tabSize = distance between tab stops Returns: