Opened 13 years ago
Closed 13 years ago
#3202 closed Bugs (fixed)
is_same documentation error
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.40.0 | Component: | type_traits |
Version: | Boost 1.39.0 | Severity: | Not Applicable |
Keywords: | TypeTraits is_same documentation | Cc: |
Description
TypeTraits is_same documentation shows the following example:
is_same<T>::value_type is the type bool.
Since is_same expects two arguments, this should be:
is_same<T,U>::value_type is the type bool.
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The same happens with is_base_of and is_convertible. is_virtual_base_of gets it right. I think those are the only 'binary' traits.