Opened 10 years ago

Closed 9 years ago

#7639 closed Bugs (fixed)

Type Traits Documentation Error

Reported by: wmamrak@… 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 John Maddock, 9 years ago

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

comment:2 by John Maddock, 9 years ago

Resolution: fixed
Status: newclosed

(In [84759]) Fix typo in docs and regenerate. Fixes #7639.

Note: See TracTickets for help on using tickets.