]> git.ipfire.org Git - thirdparty/gcc.git/commit
Disable -Wctor-dtor-privacy warnings for some standard types
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jun 2019 14:03:20 +0000 (14:03 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jun 2019 14:03:20 +0000 (14:03 +0000)
commitbde783a93449ed52ffa301c338b23cd57df0cc77
tree316fb18aeb472601a96ff9b3889ea7849428ad42
parente3cc480c4e4601ee97baa96d36952331ffc867d4
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272289 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/type_traits
libstdc++-v3/include/std/type_traits