Opened 10 years ago
Closed 9 years ago
#7639 closed Bugs (fixed)
Type Traits Documentation Error
| Reported by: | Owned by: | John Maddock | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | type_traits |
| Version: | Boost 1.51.0 | Severity: | Cosmetic |
| Keywords: | type_traits, documentation error | Cc: |
Description
In is_function section of type traits' documentation:
http://www.boost.org/doc/libs/1_51_0/libs/type_traits/doc/html/boost_typetraits/reference/is_function.html
it states:
typedef int f1(); // f1 is of function type. typedef int (f2*)(); // f2 is a pointer to a function. typedef int (f3&)(); // f3 is a reference to a function.
It should be:
typedef int (*f2)(); typedef int (&f3)();
regards
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

(In [84757]) Fix typo in docs and regenerate. Refs #7639.