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

Prefer explicit deletion of copy constructor and assignment operator to boost::noncopyable #2203

Closed
nvmkuruc opened this issue Jan 26, 2023 · 2 comments

Comments

@nvmkuruc
Copy link
Collaborator

Description of Issue

There are several usages of boost::noncopyable which could be replaced with expicit Object(const Object& o) = delete; and Object& operator=(const Object& o) = delete; statements. Switching to this would reduce the number of dependencies on boost.

Steps to Reproduce

N/A

System Information (OS, Hardware)

N/A

Package Versions

N/A

Build Flags

N/A

@sunyab
Copy link
Contributor

sunyab commented Jan 27, 2023

Filed as internal issue #USD-7922

@nvmkuruc nvmkuruc changed the title Prefer explicit deletion of copy constructor and assignment operator to boost::noncopyable Prefer explicit deletion of copy constructor and assignment operator to boost::noncopyable Jan 30, 2023
@nvmkuruc
Copy link
Collaborator Author

Closing, as this was addressed last year.

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

No branches or pull requests

2 participants