From: Daniel Arndt Date: Sun, 12 Apr 2020 23:38:06 +0000 (-0400) Subject: Fix std namespace X-Git-Tag: v9.2.0-rc1~207^2~18 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebb76fbdceb2ecf1cf7d0723cbbb5443c14f21fc;p=dealii.git Fix std namespace --- diff --git a/include/deal.II/base/template_constraints.h b/include/deal.II/base/template_constraints.h index 63b8f7653f..b5180ec1ba 100644 --- a/include/deal.II/base/template_constraints.h +++ b/include/deal.II/base/template_constraints.h @@ -509,7 +509,7 @@ namespace internal * multiply(1.234, 2.345); * @endcode * it will deduce @p T to be @p double, and because - * EnableIfScalar@::type equals @p double, the compiler + * EnableIfScalar@::%type equals @p double, the compiler * will instantiate a function double multiply(const double, const * double) from the template above. On the other hand, in a context * like @@ -518,7 +518,7 @@ namespace internal * multiply(v1, v2); * @endcode * the compiler will deduce @p T to be std::vector@ but - * because EnableIfScalar@@>::type does not + * because EnableIfScalar@@>::%type does not * exist the compiler does not consider the template for instantiation. This * technique is called "Substitution Failure is not an Error (SFINAE)". It * makes sure that the template function can not even be called, rather than diff --git a/include/deal.II/differentiation/sd/symengine_math.h b/include/deal.II/differentiation/sd/symengine_math.h index 736eddef8b..b766e97c3b 100644 --- a/include/deal.II/differentiation/sd/symengine_math.h +++ b/include/deal.II/differentiation/sd/symengine_math.h @@ -52,7 +52,7 @@ namespace Differentiation * Return a symbolic number that represents a @p base value raised to the power of * an @p exponent. * - * Mimics the function std::pow(base,exponent) using the + * Mimics the function std::%pow(base,exponent) using the * standard math library. */ Expression @@ -62,7 +62,7 @@ namespace Differentiation * Return a symbolic number that represents a @p base value raised to the power of * an @p exponent. * - * Mimics the function std::pow(base,exponent) using the + * Mimics the function std::%pow(base,exponent) using the * standard math library. * * This variant is used when the @p exponent is not a Expression. @@ -81,7 +81,7 @@ namespace Differentiation * Return a symbolic number that represents a @p base value raised to the power of * an @p exponent. * - * Mimics the function std::pow(base,exponent) using the + * Mimics the function std::%pow(base,exponent) using the * standard math library. * * This variant is used when the @p base is not a Expression. @@ -99,7 +99,7 @@ namespace Differentiation /** * Return a symbolic number that represents the square root of some value @p x. * - * Mimics the function std::sqrt(x) using the standard math + * Mimics the function std::%sqrt(x) using the standard math * library. */ Expression @@ -108,7 +108,7 @@ namespace Differentiation /** * Return a symbolic number that represents the cubic root of some value @p x. * - * Mimics the function std::cbrt(x) using the standard math + * Mimics the function std::%cbrt(x) using the standard math * library. */ Expression @@ -118,7 +118,7 @@ namespace Differentiation * Return a symbolic number that represents the Euler constant * $e \approx 2.71828$ raised to the given @p exponent. * - * Mimics the function std::exp(exponent) using the standard + * Mimics the function std::%exp(exponent) using the standard * math library. */ Expression @@ -127,7 +127,7 @@ namespace Differentiation /** * Return a symbolic number that represents the natural logarithm of a value @p x. * - * Mimics the function std::log(x) using the standard math + * Mimics the function std::%log(x) using the standard math * library. */ Expression @@ -137,7 +137,7 @@ namespace Differentiation * Return a symbolic number that represents the logarithm of a value @p x taken with * respect to a @p base number. * - * Mimics the function std::log(x,base) using the standard + * Mimics the function std::%log(x,base) using the standard * math library. */ Expression @@ -147,7 +147,7 @@ namespace Differentiation * Return a symbolic number that represents the logarithm of a value @p x taken with * respect to a @p base number. * - * Mimics the function std::log(x,base) using the standard + * Mimics the function std::%log(x,base) using the standard * math library. * * This variant is used when the @p base is not a Expression. @@ -166,7 +166,7 @@ namespace Differentiation * Return a symbolic number that represents the logarithm of a value @p x taken with * respect to a @p base number. * - * Mimics the function std::log(x,base) using the standard + * Mimics the function std::%log(x,base) using the standard * math library. * * This variant is used when the @p value is not a Expression. @@ -184,7 +184,7 @@ namespace Differentiation /** * Return a symbolic number that represents the base 10 logarithm of a value @p x. * - * Mimics the function std::log10(x) using the standard math + * Mimics the function std::%log10(x) using the standard math * library. */ Expression @@ -201,7 +201,7 @@ namespace Differentiation * Return a symbolic number that represents the sine function with the * given argument @p x. * - * Mimics the function std::sin(x) using the standard math + * Mimics the function std::%sin(x) using the standard math * library. */ Expression @@ -211,7 +211,7 @@ namespace Differentiation * Return a symbolic number that represents the cosine function with the * given argument @p x. * - * Mimics the function std::cos(x) using the standard math + * Mimics the function std::%cos(x) using the standard math * library. */ Expression @@ -221,7 +221,7 @@ namespace Differentiation * Return a symbolic number that represents the tangent function with the * given argument @p x. * - * Mimics the function std::tan(x) using the standard math + * Mimics the function std::%tan(x) using the standard math * library. */ Expression @@ -231,7 +231,7 @@ namespace Differentiation * Return a symbolic number that represents the cosecant function with the * given argument @p x. * - * Mimics the function 1.0/std::sin(x) using the standard + * Mimics the function 1.0/std::%sin(x) using the standard * math library. */ Expression @@ -241,7 +241,7 @@ namespace Differentiation * Return a symbolic number that represents the secant function with the * given argument @p x. * - * Mimics the function 1.0/std::cos(x) using the standard + * Mimics the function 1.0/std::%cos(x) using the standard * math library. */ Expression @@ -251,7 +251,7 @@ namespace Differentiation * Return a symbolic number that represents the cotangent function with the * given argument @p x. * - * Mimics the function 1.0/std::tan(x) using the standard + * Mimics the function 1.0/std::%tan(x) using the standard * math library. */ Expression @@ -262,7 +262,7 @@ namespace Differentiation * the * given argument @p x. * - * Mimics the function std::asin(x) using the standard math + * Mimics the function std::%asin(x) using the standard math * library. */ Expression @@ -273,7 +273,7 @@ namespace Differentiation * with the * given argument @p x. * - * Mimics the function std::acos(x) using the standard math + * Mimics the function std::%acos(x) using the standard math * library. */ Expression @@ -284,7 +284,7 @@ namespace Differentiation * with the * given argument @p x. * - * Mimics the function std::atan(x) using the standard math + * Mimics the function std::%atan(x) using the standard math * library. */ Expression @@ -295,7 +295,7 @@ namespace Differentiation * with the * given arguments @p x and @p y. * - * Mimics the function std::atan2(y,x) using the standard + * Mimics the function std::%atan2(y,x) using the standard * math library. */ Expression @@ -306,7 +306,7 @@ namespace Differentiation * with the * given arguments @p x and @p y. * - * Mimics the function std::atan2(y,x) using the standard + * Mimics the function std::%atan2(y,x) using the standard * math library. * * This variant is used when the numerator @p y is not a Expression. @@ -326,7 +326,7 @@ namespace Differentiation * with the * given arguments @p x and @p y. * - * Mimics the function std::atan2(y,x) using the standard + * Mimics the function std::%atan2(y,x) using the standard * math library. * * This variant is used when the denominator @p x is not a Expression. @@ -346,7 +346,7 @@ namespace Differentiation * with the * given argument @p x. * - * Mimics the function 1.0/std::asin(x) using the standard + * Mimics the function 1.0/std::%asin(x) using the standard * math library. */ Expression @@ -357,7 +357,7 @@ namespace Differentiation * with the * given argument @p x. * - * Mimics the function 1.0/std::acos(x) using the standard + * Mimics the function 1.0/std::%acos(x) using the standard * math library. */ Expression @@ -368,7 +368,7 @@ namespace Differentiation * with the * given argument @p x. * - * Mimics the function 1.0/std::atan(x) using the standard + * Mimics the function 1.0/std::%atan(x) using the standard * math library. */ Expression @@ -386,7 +386,7 @@ namespace Differentiation * with the * given argument @p x. * - * Mimics the function std::sinh(x) using the standard math + * Mimics the function std::%sinh(x) using the standard math * library. */ Expression @@ -397,7 +397,7 @@ namespace Differentiation * with the * given argument @p x. * - * Mimics the function std::cosh(x) using the standard math + * Mimics the function std::%cosh(x) using the standard math * library. */ Expression @@ -408,7 +408,7 @@ namespace Differentiation * with the * given argument @p x. * - * Mimics the function std::tanh(x) using the standard math + * Mimics the function std::%tanh(x) using the standard math * library. */ Expression @@ -419,7 +419,7 @@ namespace Differentiation * function with the * given argument @p x. * - * Mimics the function 1.0/std::sinh(x) using the standard + * Mimics the function 1.0/std::%sinh(x) using the standard * math library. */ Expression @@ -430,7 +430,7 @@ namespace Differentiation * with the * given argument @p x. * - * Mimics the function 1.0/std::cosh(x) using the standard + * Mimics the function 1.0/std::%cosh(x) using the standard * math library. */ Expression @@ -441,7 +441,7 @@ namespace Differentiation * function with the * given argument @p x. * - * Mimics the function 1.0/std::tanh(x) using the standard + * Mimics the function 1.0/std::%tanh(x) using the standard * math library. */ Expression @@ -452,7 +452,7 @@ namespace Differentiation * function with the * given argument @p x. * - * Mimics the function std::asinh(x) using the standard math + * Mimics the function std::%asinh(x) using the standard math * library. */ Expression @@ -463,7 +463,7 @@ namespace Differentiation * function with the * given argument @p x. * - * Mimics the function std::acosh(x) using the standard math + * Mimics the function std::%acosh(x) using the standard math * library. */ Expression @@ -474,7 +474,7 @@ namespace Differentiation * function with the * given argument @p x. * - * Mimics the function std::atanh(x) using the standard math + * Mimics the function std::%atanh(x) using the standard math * library. */ Expression @@ -485,7 +485,7 @@ namespace Differentiation * function with the * given argument @p x. * - * Mimics the function 1.0/std::asin(x) using the standard + * Mimics the function 1.0/std::%asin(x) using the standard * math library. */ Expression @@ -496,7 +496,7 @@ namespace Differentiation * function with the * given argument @p x. * - * Mimics the function 1.0/std::acos(x) using the standard + * Mimics the function 1.0/std::%acos(x) using the standard * math library. */ Expression @@ -507,7 +507,7 @@ namespace Differentiation * cotangent function with the * given argument @p x. * - * Mimics the function 1.0/std::atan(x) using the standard + * Mimics the function 1.0/std::%atan(x) using the standard * math library. */ Expression @@ -523,7 +523,7 @@ namespace Differentiation /** * Return a symbolic number that represents the absolute value of value @p x. * - * Mimics the function std::abs(x) using the standard math + * Mimics the function std::%abs(x) using the standard math * library. */ Expression @@ -533,7 +533,7 @@ namespace Differentiation /** * Return a symbolic number that represents the absolute value of value @p x. * - * Mimics the function std::fabs(x) using the standard math + * Mimics the function std::%fabs(x) using the standard math * library. */ Expression @@ -555,7 +555,7 @@ namespace Differentiation * Return a symbolic number that represents the @p value of the first * argument that takes the @p sign of the second argument. * - * Mimics the function std::copysign(value, sign) using + * Mimics the function std::%copysign(value, sign) using * the standard math library. */ Expression @@ -565,7 +565,7 @@ namespace Differentiation /** * Return a symbolic number that represents the floor of value @p x. * - * Mimics the function std::floor(x) using the standard math + * Mimics the function std::%floor(x) using the standard math * library. */ Expression @@ -575,7 +575,7 @@ namespace Differentiation /** * Return a symbolic number that represents the ceiling of value @p x. * - * Mimics the function std::ceil(x) using the standard math + * Mimics the function std::%ceil(x) using the standard math * library. */ Expression @@ -585,7 +585,7 @@ namespace Differentiation * Return a symbolic number that represents the maximum of two * values @p a and @p b. * - * Mimics the function std::max(a,b) using the standard math + * Mimics the function std::%max(a,b) using the standard math * library. */ Expression @@ -595,7 +595,7 @@ namespace Differentiation * Return a symbolic number that represents the maximum of two * values @p a and @p b. * - * Mimics the function std::max(a,b) using the standard math + * Mimics the function std::%max(a,b) using the standard math * library. * * This variant is used when @p b is not a Expression. @@ -614,7 +614,7 @@ namespace Differentiation * Return a symbolic number that represents the maximum of two * values @p a and @p b. * - * Mimics the function std::max(a,b) using the standard math + * Mimics the function std::%max(a,b) using the standard math * library. * * This variant is used when @p a is not a Expression. @@ -633,7 +633,7 @@ namespace Differentiation * Return a symbolic number that represents the minimum of two * values @p a and @p b. * - * Mimics the function std::min(a,b) using the standard math + * Mimics the function std::%min(a,b) using the standard math * library. */ Expression @@ -643,7 +643,7 @@ namespace Differentiation * Return a symbolic number that represents the minimum of two * values @p a and @p b. * - * Mimics the function std::min(a,b) using the standard math + * Mimics the function std::%min(a,b) using the standard math * library. * * This variant is used when @p b is not a Expression. @@ -662,7 +662,7 @@ namespace Differentiation * Return a symbolic number that represents the minimum of two * values @p a and @p b. * - * Mimics the function std::min(a,b) using the standard math + * Mimics the function std::%min(a,b) using the standard math * library. * * This variant is used when @p a is not a Expression. @@ -681,7 +681,7 @@ namespace Differentiation * Return a symbolic number that represents error function with the * given argument @p x. * - * Mimics the function std::erf(x) using the standard math + * Mimics the function std::%erf(x) using the standard math * library. */ Expression @@ -691,7 +691,7 @@ namespace Differentiation * Return a symbolic number that represents complimentary error function * with the given argument @p x. * - * Mimics the function std::erfc(x) using the standard math + * Mimics the function std::%erfc(x) using the standard math * library. */ Expression