Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

delete copy constructors from all driver #107

Open
kammce opened this issue Nov 30, 2022 · 0 comments
Open

delete copy constructors from all driver #107

kammce opened this issue Nov 30, 2022 · 0 comments
Labels
🐞 bug/flaw Something isn't working

Comments

@kammce
Copy link
Collaborator

kammce commented Nov 30, 2022

Drivers can be moveable but they cannot be copyable. The idea of copying a driver designated for a particular bit of hardware is nonsensical, especially if the driver has some sort of internal state. The actual hardware, relative to the two objects will drift and this will cause undefined behavior with the driver.

@kammce kammce added the 🐞 bug/flaw Something isn't working label Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug/flaw Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant