Skip to content

Commit 7a608bf

Browse files
authored
Merge pull request #1916 from RazvanN7/patch-2
Update traits.dd merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2 parents 2f27d33 + f101971 commit 7a608bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spec/traits.dd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ $(GNAME TraitsKeyword):
2222
$(GBLINK isFinalClass)
2323
$(GBLINK isPOD)
2424
$(GBLINK isNested)
25+
$(GBLINK isFuture)
2526
$(GBLINK isFloating)
2627
$(GBLINK isIntegral)
2728
$(GBLINK isScalar)
@@ -192,6 +193,12 @@ $(H2 $(GNAME isNested))
192193
$(DDSUBLINK spec/struct, nested, structs), and
193194
$(DDSUBLINK spec/function, variadicnested, functions).)
194195

196+
$(H2 $(GNAME isFuture))
197+
198+
$(P Takes one argument. It returns `true` if the argument is a symbol
199+
marked with the `@future` keyword, otherwise `false`. Currently, only
200+
functions and variable declarations have support for the `@future` keyword.)
201+
195202
$(H2 $(GNAME isVirtualFunction))
196203

197204
$(P The same as $(GLINK isVirtualMethod), except

0 commit comments

Comments
 (0)