Merged from trunk

[SVN r79561]
This commit is contained in:
Ion Gaztañaga
2012-07-16 09:08:27 +00:00
parent 98cb962cad
commit 1a3bb83a22
74 changed files with 475 additions and 327 deletions
+8 -8
View File
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2011-2011. Distributed under the Boost
// (C) Copyright Ion Gaztanaga 2011-2012. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -31,14 +31,14 @@ struct private_type
private_type const &operator,(int) const;
};
typedef char yes_type;
typedef char yes_type;
struct no_type{ char dummy[2]; };
template<typename T>
no_type is_private_type(T const &);
yes_type is_private_type(private_type const &);
}}}}
}}}}
namespace boost{
@@ -123,7 +123,7 @@ class has_member_function_named_func
template <class U>
static has_member_function_callable_with::no_type Test(...);
static const bool value
= sizeof(Test< Fun >(0)) == sizeof(has_member_function_callable_with::yes_type);
};
@@ -186,7 +186,7 @@ class has_member_function_named_func
);
};
}}}
}}}
namespace boost{
namespace intrusive{
@@ -216,7 +216,7 @@ class has_member_function_named_func
)
);
};
}}}
}}}
namespace boost{
namespace intrusive{
@@ -308,7 +308,7 @@ class has_member_function_named_func
template <class U>
static has_member_function_callable_with::no_type Test(...);
static const bool value = sizeof(Test< Fun >(0))
== sizeof(has_member_function_callable_with::yes_type);
};
@@ -460,7 +460,7 @@ int main()
(void)check5;
(void)check6;
(void)check7;
}
}
return 0;