Обновление форматирования

This commit is contained in:
2020-03-31 18:24:45 +03:00
parent f740a21d8f
commit 691b768c94
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ namespace math {
* \return Квадрат значения
*/
template < typename T >
auto pow2( T const& value )->decltype( boost::math::pow< 2 >( value ) )
auto pow2( T const& value ) -> decltype( boost::math::pow< 2 >( value ) )
{
return( boost::math::pow< 2 >( value ) );
}

View File

@ -11,7 +11,7 @@ template< typename ... Args >
struct QOverload
{
template< typename C, typename R >
static constexpr auto of( R ( C::* pmf )( Args... ) )->decltype( pmf )
static constexpr auto of( R ( C::* pmf )( Args... ) ) -> decltype( pmf )
{
return( pmf );
}