Subject: [Boost-bugs] [Boost C++ Libraries] #7639: Type Traits Documentation Error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-04 19:10:22
#7639: Type Traits Documentation Error
----------------------------------------------+-----------------------------
Reporter: wmamrak@⦠| Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
Version: Boost 1.51.0 | Severity: Cosmetic
Keywords: type_traits, documentation error |
----------------------------------------------+-----------------------------
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
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7639> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC