[Bug libstdc++/70472] is_copy_constructible>>::value is true

2023-08-25 Thread safinaskar at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70472

Askar Safin  changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|NEW |RESOLVED

--- Comment #15 from Askar Safin  ---
I agree. I close as INVALID

[Bug libstdc++/70472] is_copy_constructible>>::value is true

2023-07-24 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70472

Arthur O'Dwyer  changed:

   What|Removed |Added

 CC||arthur.j.odwyer at gmail dot 
com

--- Comment #14 from Arthur O'Dwyer  ---
> The problem is that std::vector does have a copy constructor, so the trait 
> value is true, but instantiating that constructor produces an error when the 
> value_type is not copyable.

Worse, the value_type can be incomplete, as in

struct Node {
  std::vector children_;
};

Askar: see
https://quuxplusone.github.io/blog/2020/02/05/vector-is-copyable-except-when-its-not/
I suggest closing this bug report as Not A Bug. It certainly shouldn't be
tagged `wrong-code`.

[Bug libstdc++/70472] is_copy_constructible>>::value is true

2021-04-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70472

Jonathan Wakely  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
   Assignee|redi at gcc dot gnu.org|unassigned at gcc dot 
gnu.org

[Bug libstdc++/70472] is_copy_constructible>>::value is true

2018-08-14 Thread simonrbrand at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70472

Simon Brand  changed:

   What|Removed |Added

 CC||simonrbrand at gmail dot com

--- Comment #13 from Simon Brand  ---
Is there any decent workaround for this for pre-GCC8 users? My current approach
is to add specializations to my own trait whenever a user of my library needs
support for types with this issue. I can happily use intrinsics if some would
make this easier.

[Bug libstdc++/70472] is_copy_constructible>>::value is true

2018-07-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70472

Jonathan Wakely  changed:

   What|Removed |Added

   Target Milestone|8.3 |---

[Bug libstdc++/70472] is_copy_constructible>>::value is true

2018-07-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70472

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|8.2 |8.3

--- Comment #12 from Jakub Jelinek  ---
GCC 8.2 has been released.