Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/warn/anonymous-namespace-4.h @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
template < typename T > struct integral_c { static const T value = 0; }; struct is_reference:integral_c < bool > { }; template < class > struct is_function_ptr_helper { }; template < bool > struct is_function_chooser; template <> struct is_function_chooser <0 > { template < typename T > struct result_:is_function_ptr_helper < T * > { }; }; template < typename T > struct is_function_impl:is_function_chooser < is_reference::value >::result_ < T > { };