-
Notifications
You must be signed in to change notification settings - Fork 23
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
Implement template flag to attribute<> to defer object creation #148
Comments
This isn't generally possible in C++ (@tap may have completely rewritten the construction process, though, so I might be wrong in this case). But you can make the member a pointer (or unique_ptr) and allocate/initialize it in the constructor, as per the docs wrt the |
Correct. The There are questions though... Does the object then get initialized when the "loadbang" message is sent? Or not at all? Or... ? |
Defer the initialization of a member object to allow for user parametrization before creation.
The text was updated successfully, but these errors were encountered: