mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-13 02:34:35 +08:00
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>
|
2004-12-25 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
* include/tr1/type_traits: Implement is_enum (usual caveats about
|
* include/tr1/type_traits: Implement is_enum (usual caveats about
|
||||||
|
@ -190,7 +190,7 @@ namespace tr1
|
|||||||
|
|
||||||
template<typename _Tp>
|
template<typename _Tp>
|
||||||
struct is_enum
|
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
|
template<typename _Tp, bool = (is_reference<_Tp>::value
|
||||||
|| is_void<_Tp>::value)>
|
|| is_void<_Tp>::value)>
|
||||||
|
Loading…
Reference in New Issue
Block a user