Disable -Wctor-dtor-privacy warnings for some standard types
authorJonathan Wakely <jwakely@redhat.com>
Fri, 14 Jun 2019 14:03:20 +0000 (15:03 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 14 Jun 2019 14:03:20 +0000 (15:03 +0100)
commitcc28d23496b014ae413a03923404fd45b1ba5f28
tree316fb18aeb472601a96ff9b3889ea7849428ad42
parentc68c4c982d6f762bd1938b90f6cb5f210d509939
Disable -Wctor-dtor-privacy warnings for some standard types

* include/experimental/type_traits (experimental::nonesuch): Use
pragma to disable -Wctor-dtor-privacy warnings.
* include/std/type_traits (__is_convertible_helper<From, To, false>)
(__is_nt_convertible_helper<From, To, false>, __nonesuch): Likewise.

From-SVN: r272289
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/type_traits
libstdc++-v3/include/std/type_traits