Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention the IO ctor in the manual #1061

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Mention the IO ctor in the manual #1061

merged 1 commit into from
Dec 3, 2024

Conversation

dpiparo
Copy link
Member

@dpiparo dpiparo commented Dec 3, 2024

Needs to be merged after root-project/root#17181

@dpiparo dpiparo requested a review from pcanal December 3, 2024 14:29
@dpiparo dpiparo self-assigned this Dec 3, 2024
@@ -245,7 +245,7 @@ class MyClass {

## Restrictions on types ROOT I/O can handle

For ROOT to be able to store a class, it must have a public constructor.
For ROOT to be able to store a class, it must have a public constructor or a special I/O constructor (see the documentation of [`TClass::New`](https://root.cern/doc/master/classTClass.html) for more details and examples).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For ROOT to be able to store a class, it must have a public constructor or a special I/O constructor (see the documentation of [`TClass::New`](https://root.cern/doc/master/classTClass.html) for more details and examples).
For ROOT to be able to store a class, it must have a public default constructor or a special I/O constructor (see the documentation of [`TClass::New`](https://root.cern/doc/master/classTClass.html) for more details and examples).

@dpiparo
Copy link
Member Author

dpiparo commented Dec 3, 2024

@pcanal comment addressed, thanks.

@dpiparo dpiparo merged commit 267f32a into main Dec 3, 2024
1 check passed
@dpiparo dpiparo deleted the ioctor branch December 3, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants