Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manual/io_custom_classes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ For more information on TTree, see [Trees]({{ '/manual/trees' | relative_url }})

## The `ClassDef` macro

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 }}).
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.

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

Expand Down
Loading