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
This commit is contained in:
parent
a9e7ba8139
commit
310995eac7
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -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)>
|
||||
|
Loading…
Reference in New Issue
Block a user