Skip to content

Suggesting for using is_copy_constructible_v in copy constructor #1180

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

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

GoodenoughPhysicsLab
Copy link

::std::copyable is too strict for copy constructor because it requires both is_copy_constructible_v and
::std::is_copy_assignable_v. A class has copy constructor but disables copy assign operator may sounds weird but it DO troubles me. Therefore, if you agree with me, I'll handle other similar requires.

::std::copyable is too strict for copy constructor because it
requires both is_copy_constructible_v and
::std::is_copy_assignable_v. A class has copy constructor but
disables copy assign operator may sounds weird but it DO troubles
me. Therefore, if you agree with me, I'll handle other similar
requires.
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.

1 participant