Skip to content

Commit 97a42c5

Browse files
authored
Merge pull request dlang#3605 from SixthDot/patch-1
Specify that nested static struct might also be POD Signed-off-by: Razvan Nitu <[email protected]> Signed-off-by: Dennis <[email protected]> Signed-off-by: Petar Kirov <[email protected]> Merged-on-behalf-of: Petar Kirov <[email protected]>
2 parents ac3c9de + f703543 commit 97a42c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/struct.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ $(H2 $(LNAME2 POD, Plain Old Data))
211211
$(P A struct or union is $(I Plain Old Data) (POD) if it meets the following criteria:)
212212

213213
$(OL
214-
$(LI it is not nested)
214+
$(LI it is static, or not nested)
215215
$(LI it has no postblits, copy constructors, destructors, or assignment operators)
216216
$(LI it has no fields that are themselves non-POD)
217217
)

0 commit comments

Comments
 (0)