Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dlang.org.ddoc
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ _=
PC=$(TC p, $1, $+)
_=

PHOBOS=$(SPANC phobos, $(AHTTPS dlang.org/phobos/std_$1.html#$2, $(TAIL $+)))
PHOBOSSRC=$(SPANC phobos_src, $(AHTTPS github.com/dlang/phobos/blob/master/$0, $0))
_=

Expand Down
12 changes: 6 additions & 6 deletions spec/arrays.dd
Original file line number Diff line number Diff line change
Expand Up @@ -909,18 +909,18 @@ d = 'd'; // d is assigned the character 'd'

$(H4 $(LEGACY_LNAME2 strings_unicode, strings-unicode, Strings and Unicode))
$(P Note that built-in comparison operators operate on a
$(HTTPS goo.gl/zRY1K, code unit) basis.
$(LINK2 http://www.unicode.org/glossary/#code_unit, code unit) basis.
The end result for valid strings is the same as that of
$(HTTPS goo.gl/WR424, code point)
for $(HTTPS goo.gl/WR424, code point)
$(LINK2 http://www.unicode.org/glossary/#code_point, code point)
for $(LINK2 http://www.unicode.org/glossary/#code_point, code point)
comparison as long as both strings are in the same
$(HTTPS goo.gl/3DKfI, normalization form).
$(LINK2 http://www.unicode.org/glossary/#normalization_form, normalization form).
Since normalization is a costly operation not suitable for language
primitives it's assumed to be enforced by the user.
)
$(P The standard library lends a hand for comparing strings with mixed encodings
(by transparently decoding, see $(PHOBOS algorithm, cmp, std.algorithm.cmp)),
$(PHOBOS uni, icmp, case-insensitive comparison) and $(PHOBOS uni, normalize, normalization).
(by transparently decoding, see $(REF cmp, std,algorithm)),
$(REF_ALTTEXT case-insensitive comparison, icmp, std,uni) and $(REF_ALTTEXT normalization, normalize, std,uni).
)
$(P Last but not least, a desired string sorting order differs
by culture and language and is usually nothing like code point
Expand Down
2 changes: 1 addition & 1 deletion spec/cpp_interface.dd
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ $(H2 $(LNAME2 packing-and-alignment, Packing and Alignment))
)

$(P D supports bitfields in the standard library: see
$(PHOBOS bitmanip, bitfields, std.bitmanip.bitfields).
$(REF bitfields, std, bitmanip).
)

$(H2 $(LNAME2 lifetime-management, Lifetime Management))
Expand Down
1 change: 0 additions & 1 deletion spec/latex.ddoc
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ _=

P= $0 \par
PERCENT=\%
PHOBOS=$(LINK2 phobos/std_$1.html\#$2, $3)
_=

RAWHTML=\begin{lstlisting}[language=html,breaklines=true,breakatwhitespace=true]$0\end{lstlisting}
Expand Down
2 changes: 1 addition & 1 deletion spec/property.dd
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ $(H2 $(LNAME2 stringof, .stringof Property))
$(BEST_PRACTICE Do not use `.stringof` for code generation.
Instead use the
$(DDSUBLINK spec/traits, identifier, identifier) trait,
or one of the Phobos helper functions such as $(PHOBOS traits, fullyQualifiedName, std.traits.fullyQualifiedName).)
or one of the Phobos helper functions such as $(REF fullyQualifiedName, std,traits).)

$(H2 $(LNAME2 sizeof, .sizeof Property))

Expand Down