diff --git a/traits.dd b/traits.dd index d27aa85108..c223a41aa8 100644 --- a/traits.dd +++ b/traits.dd @@ -21,6 +21,7 @@ $(GNAME TraitsKeyword): $(GBLINK isAssociativeArray) $(GBLINK isFinalClass) $(GBLINK isPOD) + $(GBLINK isNested) $(GBLINK isFloating) $(GBLINK isIntegral) $(GBLINK isScalar) @@ -158,6 +159,15 @@ $(H2 $(GNAME isPOD)) $(P Takes one argument, which must be a type. It returns $(B true) if the type is a $(XLINK2 glossary.html#pod, POD) type, otherwise $(B false).) +$(H2 $(GNAME isNested)) + + $(P Takes one argument. + It returns $(B true) if the argument is a nested type which internally + stores a context pointer, otherwise it returns $(B false). + Nested types can be $(XLINK2 class.html#nested, classes), + $(XLINK2 struct.html#nested, structs), and + $(XLINK2 function.html#variadicnested, functions).) + $(H2 $(GNAME isVirtualFunction)) $(P The same as $(GLINK isVirtualMethod), except