Opened 13 years ago

Closed 13 years ago

#3771 closed Bugs (fixed)

Updated comment for 'remove_pointer'

Reported by: Edward Diener <eld@…> Owned by: John Maddock
Milestone: Boost 1.42.0 Component: type_traits
Version: Boost 1.41.0 Severity: Cosmetic
Keywords: remove_pointer Cc:

Description

The explanation for 'remove_pointer' is:

type: The same type as T, but with any pointer modifier removed.

What should also be added is that this refers only to function and object pointers, but not to member function and member object pointers as removing the pointer would create an illegal type.

Change History (1)

comment:1 by John Maddock, 13 years ago

Resolution: fixed
Status: newclosed

(In [59474]) Add comment to remove_pointer docs. Fixes #3771.

Note: See TracTickets for help on using tickets.