Skip to content

Commit 9c74bcb

Browse files
author
Basile Burg
authored
Specify that nested static struct are also POD
1 parent 1ae1b66 commit 9c74bcb

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 not nested or static)
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)