Rename to enable_if_has_type in concordance with MPL existing traits

This commit is contained in:
Joel Falcou
2015-08-13 17:42:34 +02:00
parent ad513c1641
commit 87d43ddffc
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -24,7 +24,7 @@
namespace boost
{
template<typename T, typename R=void>
struct enable_if_type
struct enable_if_has_type
{
typedef R type;
};
@@ -86,7 +86,7 @@ namespace boost {
struct enable_if_does_not_work_on_this_compiler;
template<typename T, typename R=void>
struct enable_if_type : enable_if_does_not_work_on_this_compiler<T>
struct enable_if_has_type : enable_if_does_not_work_on_this_compiler<T>
{ };
template <bool B, class T = detail::enable_if_default_T>