mirror of
https://github.com/boostorg/type_traits.git
synced 2025-07-29 20:17:21 +02:00
TypeTraits/common_type fix typo.
[SVN r86457]
This commit is contained in:
@ -221,7 +221,7 @@ and enum types to double:
|
||||
An improved `std::min` function could be written like this:
|
||||
|
||||
template <class T, class U>
|
||||
typename __common_type<T, U>::type min(T t, T u)
|
||||
typename __common_type<T, U>::type min(T t, U u)
|
||||
{
|
||||
return t < u ? t : u;
|
||||
}
|
||||
|
Reference in New Issue
Block a user