Skip to content

Commit 1dc8970

Browse files
pbackusdlang-bot
authored andcommitted
Document __traits(isTemplate) + overload set
1 parent 9677768 commit 1dc8970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/traits.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ void foolazy(lazy int x)
526526

527527
$(H2 $(GNAME isTemplate))
528528

529-
$(P Takes one argument. If that argument is a template then $(D true) is returned,
530-
otherwise $(D false).
529+
$(P Takes one argument. If that argument or any of its overloads is a template
530+
then $(D true) is returned, otherwise $(D false).
531531
)
532532

533533
$(SPEC_RUNNABLE_EXAMPLE_COMPILE

0 commit comments

Comments
 (0)