mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 22:14:28 +02:00
Rename struct to avoid using 'type::'type' which confuses some
compilers. [SVN r53175]
This commit is contained in:
@@ -114,7 +114,7 @@ namespace boost {
|
|||||||
|
|
||||||
// Use Access for result
|
// Use Access for result
|
||||||
|
|
||||||
struct type : Access::BOOST_NESTED_TEMPLATE call<Float>
|
struct result : Access::BOOST_NESTED_TEMPLATE call<Float>
|
||||||
{
|
{
|
||||||
BOOST_STATIC_CONSTANT(bool, value = true);
|
BOOST_STATIC_CONSTANT(bool, value = true);
|
||||||
};
|
};
|
||||||
@@ -140,7 +140,7 @@ namespace boost {
|
|||||||
|
|
||||||
// Result for nothing found.
|
// Result for nothing found.
|
||||||
|
|
||||||
struct type
|
struct result
|
||||||
{
|
{
|
||||||
BOOST_STATIC_CONSTANT(bool, value = false);
|
BOOST_STATIC_CONSTANT(bool, value = false);
|
||||||
};
|
};
|
||||||
@@ -159,18 +159,18 @@ namespace boost {
|
|||||||
struct call_ldexp<float> : select_impl
|
struct call_ldexp<float> : select_impl
|
||||||
:: x<float, detect::ldexp_access>::type
|
:: x<float, detect::ldexp_access>::type
|
||||||
:: x<float, detect::ldexpf_access>::type
|
:: x<float, detect::ldexpf_access>::type
|
||||||
:: type {};
|
:: result {};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct call_ldexp<double> : select_impl
|
struct call_ldexp<double> : select_impl
|
||||||
:: x<double, detect::ldexp_access>::type
|
:: x<double, detect::ldexp_access>::type
|
||||||
:: type {};
|
:: result {};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct call_ldexp<long double> : select_impl
|
struct call_ldexp<long double> : select_impl
|
||||||
:: x<long double, detect::ldexp_access>::type
|
:: x<long double, detect::ldexp_access>::type
|
||||||
:: x<long double, detect::ldexpl_access>::type
|
:: x<long double, detect::ldexpl_access>::type
|
||||||
:: type {};
|
:: result {};
|
||||||
|
|
||||||
|
|
||||||
// call_frexp
|
// call_frexp
|
||||||
@@ -186,18 +186,18 @@ namespace boost {
|
|||||||
struct call_frexp<float> : select_impl
|
struct call_frexp<float> : select_impl
|
||||||
:: x<float, detect::frexp_access>::type
|
:: x<float, detect::frexp_access>::type
|
||||||
:: x<float, detect::frexpf_access>::type
|
:: x<float, detect::frexpf_access>::type
|
||||||
:: type {};
|
:: result {};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct call_frexp<double> : select_impl
|
struct call_frexp<double> : select_impl
|
||||||
:: x<double, detect::frexp_access>::type
|
:: x<double, detect::frexp_access>::type
|
||||||
:: type {};
|
:: result {};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct call_frexp<long double> : select_impl
|
struct call_frexp<long double> : select_impl
|
||||||
:: x<long double, detect::frexp_access>::type
|
:: x<long double, detect::frexp_access>::type
|
||||||
:: x<long double, detect::frexpl_access>::type
|
:: x<long double, detect::frexpl_access>::type
|
||||||
:: type {};
|
:: result {};
|
||||||
|
|
||||||
// has_float_functions
|
// has_float_functions
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user