Skip to content

Commit ae1ac3d

Browse files
committed
Mention the meaning of class version zero
1 parent 979e1de commit ae1ac3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manual/io_custom_classes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ For more information on TTree, see [Trees]({{ '/manual/trees' | relative_url }})
207207

208208
## The `ClassDef` macro
209209

210-
The `ClassDef` macro can be inserted in a class definition to add some reflection capabilities to it. It also attaches a "version number" to the class that can be used for [schema evolution]({{ '/manual/io/#dealing-with-changes-in-class-layouts-schema-evolution' | relative_url }}).
210+
The `ClassDef` macro can be inserted in a class definition to add some reflection capabilities to it. It also attaches a "version number" to the class that can be used for [schema evolution]({{ '/manual/io/#dealing-with-changes-in-class-layouts-schema-evolution' | relative_url }}). A class "version number" equal to zero signals that the class cannot be written.
211211

212212
Having a `ClassDef` is mandatory for classes inheriting from `TObject`, otherwise it is an optional ROOT I/O performance optimization.
213213

0 commit comments

Comments
 (0)