Skip to content

Suggesting for using is_copy_constructible_v in copy constructor#1180

Merged
trcrsired merged 3 commits into
cppfastio:nextfrom
SekaiArendelle:copy
Aug 3, 2025
Merged

Suggesting for using is_copy_constructible_v in copy constructor#1180
trcrsired merged 3 commits into
cppfastio:nextfrom
SekaiArendelle:copy

Conversation

@SekaiArendelle

Copy link
Copy Markdown

::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.

arendelle added 2 commits July 13, 2025 20:03
::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.
@SekaiArendelle SekaiArendelle force-pushed the copy branch 2 times, most recently from 9da5318 to 1956206 Compare July 28, 2025 02:39
@trcrsired trcrsired merged commit b0b2e1d into cppfastio:next Aug 3, 2025
2 checks passed
@SekaiArendelle SekaiArendelle deleted the copy branch June 12, 2026 15:16
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