Commit 310995ea by Paolo Carlini Committed by Paolo Carlini

type_traits (is_enum): Minor tweak.

2004-12-25  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/type_traits (is_enum): Minor tweak.

From-SVN: r92605
parent a9e7ba81
2004-12-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (is_enum): Minor tweak.
2004-12-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_enum (usual caveats about
the nasty consequences of c++/19076...).
* testsuite/testsuite_tr1.h: Add ConvType.
......
......@@ -190,7 +190,7 @@ namespace tr1
template<typename _Tp>
struct is_enum
: integral_constant<bool, __is_enum_helper<_Tp>::__value> { };
: public integral_constant<bool, __is_enum_helper<_Tp>::__value> { };
template<typename _Tp, bool = (is_reference<_Tp>::value
|| is_void<_Tp>::value)>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment