Opened 9 years ago

Closed 9 years ago

#8785 closed Bugs (fixed)

Typo in documentation for common_type

Reported by: jmsaunders@… Owned by: viboes
Milestone: To Be Determined Component: type_traits
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

In the documentation for common_type, http://www.boost.org/doc/libs/1_54_0/libs/type_traits/doc/html/boost_typetraits/examples/improved_min.html

I believe:

template <class T, class U>
typename common_type<T, U>::type min(T t, T u)

should be:

template <class T, class U>
typename common_type<T, U>::type min(T t, U u)

Change History (4)

comment:1 by viboes, 9 years ago

Component: Documentationutility
Owner: changed from Matias Capeletto to viboes
Status: newassigned

comment:2 by viboes, 9 years ago

Component: utilitytype_traits

comment:3 by viboes, 9 years ago

Committed revision [86457].

comment:4 by viboes, 9 years ago

Resolution: fixed
Status: assignedclosed

(In [86458]) TypeTraits/common_type fix typo. fix #8785.

Note: See TracTickets for help on using tickets.