Commit c0ffa2ba by Benjamin Kosnik Committed by Benjamin Kosnik

user.cfg.in: Set __cplusplus to 201103L.

2013-02-19  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
	_GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
	AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
	* include/bits/stl_pair.h: Add to utilities group.
	* include/std/tuple: Same.
	* include/std/typeindex: Same.

	* include/bits/stringfwd.h: Fix markup.
	* include/std/limits: Same.
	* include/std/type_traits: Same.
	* include/tr1/memory: Same.
	* include/tr1/regex: Same.
	* scripts/run_doxygen: Comment.
	* testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.

From-SVN: r196162
parent 10b707dc
2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
_GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
* include/bits/stl_pair.h: Add to utilities group.
* include/std/tuple: Same.
* include/std/typeindex: Same.
* include/bits/stringfwd.h: Fix markup.
* include/std/limits: Same.
* include/std/type_traits: Same.
* include/tr1/memory: Same.
* include/tr1/regex: Same.
* scripts/run_doxygen: Comment.
* testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
2013-02-14 Jason Merrill <jason@redhat.com> 2013-02-14 Jason Merrill <jason@redhat.com>
* testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
......
# Doxyfile 1.8.2 # Doxyfile 1.8.3.1
# This file describes the settings to be used by the documentation system # This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project. # doxygen (www.doxygen.org) for a project.
...@@ -252,14 +252,15 @@ EXTENSION_MAPPING = ...@@ -252,14 +252,15 @@ EXTENSION_MAPPING =
# can mix doxygen, HTML, and XML commands with Markdown formatting. # can mix doxygen, HTML, and XML commands with Markdown formatting.
# Disable only in case of backward compatibilities issues. # Disable only in case of backward compatibilities issues.
MARKDOWN_SUPPORT = YES MARKDOWN_SUPPORT = NO
# When enabled doxygen tries to link words that correspond to documented classes, # When enabled doxygen tries to link words that correspond to
# or namespaces to their corresponding documentation. Such a link can be # documented classes, or namespaces to their corresponding
# prevented in individual cases by by putting a % sign in front of the word or # documentation. Such a link can be prevented in individual cases by
# globally by setting AUTOLINK_SUPPORT to NO. # by putting a % sign in front of the word or globally by setting
# AUTOLINK_SUPPORT to NO.
AUTOLINK_SUPPORT = YES AUTOLINK_SUPPORT = NO
# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
# to include (a tag file for) the STL sources as input, then you should # to include (a tag file for) the STL sources as input, then you should
...@@ -281,7 +282,12 @@ CPP_CLI_SUPPORT = NO ...@@ -281,7 +282,12 @@ CPP_CLI_SUPPORT = NO
SIP_SUPPORT = NO SIP_SUPPORT = NO
# For Microsoft's IDL there are propget and propput attributes to indicate getter and setter methods for a property. Setting this option to YES (the default) will make doxygen replace the get and set methods by a property in the documentation. This will only work if the methods are indeed getting or setting a simple type. If this is not the case, or you want to show the methods anyway, you should set this option to NO. # For Microsoft's IDL there are propget and propput attributes to indicate
# getter and setter methods for a property. Setting this option to YES (the
# default) will make doxygen replace the get and set methods by a property in
# the documentation. This will only work if the methods are indeed getting or
# setting a simple type. If this is not the case, or you want to show the
# methods anyway, you should set this option to NO.
IDL_PROPERTY_SUPPORT = NO IDL_PROPERTY_SUPPORT = NO
...@@ -305,8 +311,7 @@ SUBGROUPING = YES ...@@ -305,8 +311,7 @@ SUBGROUPING = YES
# @ingroup) instead of on a separate page (for HTML and Man pages) or # @ingroup) instead of on a separate page (for HTML and Man pages) or
# section (for LaTeX and RTF). # section (for LaTeX and RTF).
#INLINE_GROUPED_CLASSES = NO INLINE_GROUPED_CLASSES = NO
INLINE_GROUPED_CLASSES = YES
# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and # When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and
# unions with only public data fields will be shown inline in the documentation # unions with only public data fields will be shown inline in the documentation
...@@ -542,7 +547,8 @@ GENERATE_BUGLIST = YES ...@@ -542,7 +547,8 @@ GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES GENERATE_DEPRECATEDLIST= YES
# The ENABLED_SECTIONS tag can be used to enable conditional # The ENABLED_SECTIONS tag can be used to enable conditional
# documentation sections, marked by \if sectionname ... \endif. # documentation sections, marked by \if section-label ... \endif
# and \cond section-label ... \endcond blocks.
ENABLED_SECTIONS = @enabled_sections@ ENABLED_SECTIONS = @enabled_sections@
...@@ -600,7 +606,8 @@ LAYOUT_FILE = ...@@ -600,7 +606,8 @@ LAYOUT_FILE =
# requires the bibtex tool to be installed. See also # requires the bibtex tool to be installed. See also
# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style # http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style
# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this # of the bibliography can be controlled using LATEX_BIB_STYLE. To use this
# feature you need bibtex and perl available in the search path. # feature you need bibtex and perl available in the search path. Do not use
# file names with spaces, bibtex cannot handle them.
CITE_BIB_FILES = CITE_BIB_FILES =
...@@ -952,6 +959,13 @@ FILTER_SOURCE_FILES = NO ...@@ -952,6 +959,13 @@ FILTER_SOURCE_FILES = NO
FILTER_SOURCE_PATTERNS = FILTER_SOURCE_PATTERNS =
# If the USE_MD_FILE_AS_MAINPAGE tag refers to the name of a markdown file that
# is part of the input, its contents will be placed on the main page (index.html).
# This can be useful if you have a project on for instance GitHub and want reuse
# the introduction page also for the doxygen output.
USE_MDFILE_AS_MAINPAGE =
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to source browsing # configuration options related to source browsing
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
...@@ -1134,7 +1148,7 @@ HTML_TIMESTAMP = NO ...@@ -1134,7 +1148,7 @@ HTML_TIMESTAMP = NO
# documentation will contain sections that can be hidden and shown after the # documentation will contain sections that can be hidden and shown after the
# page has loaded. # page has loaded.
HTML_DYNAMIC_SECTIONS = YES HTML_DYNAMIC_SECTIONS = NO
# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of # With HTML_INDEX_NUM_ENTRIES one can control the preferred number of
# entries shown in the various tree structured indices initially; the user # entries shown in the various tree structured indices initially; the user
...@@ -1145,7 +1159,7 @@ HTML_DYNAMIC_SECTIONS = YES ...@@ -1145,7 +1159,7 @@ HTML_DYNAMIC_SECTIONS = YES
# default. 0 is a special value representing an infinite number of entries # default. 0 is a special value representing an infinite number of entries
# and will result in a full expanded tree by default. # and will result in a full expanded tree by default.
HTML_INDEX_NUM_ENTRIES = 100 HTML_INDEX_NUM_ENTRIES = 0
# If the GENERATE_DOCSET tag is set to YES, additional index files # If the GENERATE_DOCSET tag is set to YES, additional index files
# will be generated that can be used as input for Apple's Xcode 3 # will be generated that can be used as input for Apple's Xcode 3
...@@ -1361,6 +1375,13 @@ FORMULA_TRANSPARENT = YES ...@@ -1361,6 +1375,13 @@ FORMULA_TRANSPARENT = YES
USE_MATHJAX = NO USE_MATHJAX = NO
# When MathJax is enabled you can set the default output format to be used for
# thA MathJax output. Supported types are HTML-CSS, NativeMML (i.e. MathML) and
# SVG. The default value is HTML-CSS, which is slower, but has the best
# compatibility.
MATHJAX_FORMAT = HTML-CSS
# When MathJax is enabled you need to specify the location relative to the # When MathJax is enabled you need to specify the location relative to the
# HTML output directory using the MATHJAX_RELPATH option. The destination # HTML output directory using the MATHJAX_RELPATH option. The destination
# directory should contain the MathJax.js script. For instance, if the mathjax # directory should contain the MathJax.js script. For instance, if the mathjax
...@@ -1389,15 +1410,55 @@ MATHJAX_EXTENSIONS = ...@@ -1389,15 +1410,55 @@ MATHJAX_EXTENSIONS =
SEARCHENGINE = NO SEARCHENGINE = NO
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a PHP enabled web server instead of at the web client # implemented using a web server instead of a web client using Javascript.
# using Javascript. Doxygen will generate the search PHP script and index # There are two flavours of web server based search depending on the
# file to put on the web server. The advantage of the server # EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for
# based approach is that it scales better to large projects and allows # searching and an index file used by the script. When EXTERNAL_SEARCH is
# full text search. The disadvantages are that it is more difficult to setup # enabled the indexing and searching needs to be provided by external tools.
# and does not have live searching capabilities. # See the manual for details.
SERVER_BASED_SEARCH = NO SERVER_BASED_SEARCH = NO
# When EXTERNAL_SEARCH is enabled doxygen will no longer generate the PHP
# script for searching. Instead the search results are written to an XML file
# which needs to be processed by an external indexer. Doxygen will invoke an
# external search engine pointed to by the SEARCHENGINE_URL option to obtain
# the search results. Doxygen ships with an example indexer (doxyindexer) and
# search engine (doxysearch.cgi) which are based on the open source search engine
# library Xapian. See the manual for configuration details.
EXTERNAL_SEARCH = NO
# The SEARCHENGINE_URL should point to a search engine hosted by a web server
# which will returned the search results when EXTERNAL_SEARCH is enabled.
# Doxygen ships with an example search engine (doxysearch) which is based on
# the open source search engine library Xapian. See the manual for configuration
# details.
SEARCHENGINE_URL =
# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
# search data is written to a file for indexing by an external tool. With the
# SEARCHDATA_FILE tag the name of this file can be specified.
SEARCHDATA_FILE = searchdata.xml
# When SERVER_BASED_SEARCH AND EXTERNAL_SEARCH are both enabled the
# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
# projects and redirect the results back to the right project.
EXTERNAL_SEARCH_ID =
# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
# projects other than the one defined by this configuration file, but that are
# all added to the same external search index. Each project needs to have a
# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id
# of to a relative location where the documentation can be found.
# The format is: EXTRA_SEARCH_MAPPINGS = id1=loc1 id2=loc2 ...
EXTRA_SEARCH_MAPPINGS =
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to the LaTeX output # configuration options related to the LaTeX output
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
...@@ -1698,10 +1759,10 @@ INCLUDE_FILE_PATTERNS = ...@@ -1698,10 +1759,10 @@ INCLUDE_FILE_PATTERNS =
# undefined via #undef or recursively expanded use the := operator # undefined via #undef or recursively expanded use the := operator
# instead of the = operator. # instead of the = operator.
PREDEFINED = __cplusplus \ PREDEFINED = __cplusplus=201103L \
__GTHREADS \ __GTHREADS \
_GLIBCXX_HAS_GTHREADS \ _GLIBCXX_HAS_GTHREADS \
_GLIBCXX_INCLUDE_AS_CXX0X \ _GLIBCXX_INCLUDE_AS_CXX11 \
"_GLIBCXX_PURE= " \ "_GLIBCXX_PURE= " \
"_GLIBCXX_CONST= " \ "_GLIBCXX_CONST= " \
"_GLIBCXX_NORETURN= " \ "_GLIBCXX_NORETURN= " \
...@@ -1938,7 +1999,7 @@ GRAPHICAL_HIERARCHY = YES ...@@ -1938,7 +1999,7 @@ GRAPHICAL_HIERARCHY = YES
# in a graphical way. The dependency relations are determined by the #include # in a graphical way. The dependency relations are determined by the #include
# relations between the files in the directories. # relations between the files in the directories.
DIRECTORY_GRAPH = YES DIRECTORY_GRAPH = NO
# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
# generated by dot. Possible values are svg, png, jpg, or gif. # generated by dot. Possible values are svg, png, jpg, or gif.
......
...@@ -66,6 +66,11 @@ namespace std _GLIBCXX_VISIBILITY(default) ...@@ -66,6 +66,11 @@ namespace std _GLIBCXX_VISIBILITY(default)
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @addtogroup utilities
* @{
*/
#if __cplusplus >= 201103L #if __cplusplus >= 201103L
/// piecewise_construct_t /// piecewise_construct_t
struct piecewise_construct_t { }; struct piecewise_construct_t { };
...@@ -282,7 +287,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -282,7 +287,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ return pair<_T1, _T2>(__x, __y); } { return pair<_T1, _T2>(__x, __y); }
#endif #endif
/// @}
_GLIBCXX_END_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION
} // namespace } // namespace std
#endif /* _STL_PAIR_H */ #endif /* _STL_PAIR_H */
...@@ -60,12 +60,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -60,12 +60,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
template<> struct char_traits<char>; template<> struct char_traits<char>;
typedef basic_string<char> string; /// A string of @c char /// A string of @c char
typedef basic_string<char> string;
#ifdef _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_WCHAR_T
template<> struct char_traits<wchar_t>; template<> struct char_traits<wchar_t>;
typedef basic_string<wchar_t> wstring; /// A string of @c wchar_t /// A string of @c wchar_t
typedef basic_string<wchar_t> wstring;
#endif #endif
#if ((__cplusplus >= 201103L) \ #if ((__cplusplus >= 201103L) \
...@@ -74,13 +76,16 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -74,13 +76,16 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
template<> struct char_traits<char16_t>; template<> struct char_traits<char16_t>;
template<> struct char_traits<char32_t>; template<> struct char_traits<char32_t>;
typedef basic_string<char16_t> u16string; /// A string of @c char16_t /// A string of @c char16_t
typedef basic_string<char32_t> u32string; /// A string of @c char32_t typedef basic_string<char16_t> u16string;
/// A string of @c char32_t
typedef basic_string<char32_t> u32string;
#endif #endif
/** @} */ /** @} */
_GLIBCXX_END_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION
} // namespace } // namespace std
#endif // _STRINGFWD_H #endif // _STRINGFWD_H
...@@ -211,14 +211,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -211,14 +211,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
/** True if the type is signed. */ /** True if the type is signed. */
static _GLIBCXX_USE_CONSTEXPR bool is_signed = false; static _GLIBCXX_USE_CONSTEXPR bool is_signed = false;
/** True if the type is integer. /** True if the type is integer. */
* Is this supposed to be <em>if the type is integral?</em> */
static _GLIBCXX_USE_CONSTEXPR bool is_integer = false; static _GLIBCXX_USE_CONSTEXPR bool is_integer = false;
/** True if the type uses an exact representation. <em>All integer types are /** True if the type uses an exact representation. All integer types are
exact, but not all exact types are integer. For example, rational and exact, but not all exact types are integer. For example, rational and
fixed-exponent representations are exact but not integer.</em> fixed-exponent representations are exact but not integer. */
[18.2.1.2]/15 */
static _GLIBCXX_USE_CONSTEXPR bool is_exact = false; static _GLIBCXX_USE_CONSTEXPR bool is_exact = false;
/** For integer types, specifies the base of the representation. For /** For integer types, specifies the base of the representation. For
...@@ -246,27 +244,27 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -246,27 +244,27 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false;
/** True if the type has a representation for a quiet (non-signaling) /** True if the type has a representation for a quiet (non-signaling)
<em>Not a Number</em>. */ Not a Number. */
static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false;
/** True if the type has a representation for a signaling /** True if the type has a representation for a signaling
<em>Not a Number</em>. */ Not a Number. */
static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false;
/** See std::float_denorm_style for more information. */ /** See std::float_denorm_style for more information. */
static _GLIBCXX_USE_CONSTEXPR float_denorm_style has_denorm = denorm_absent; static _GLIBCXX_USE_CONSTEXPR float_denorm_style has_denorm = denorm_absent;
/** <em>True if loss of accuracy is detected as a denormalization loss, /** True if loss of accuracy is detected as a denormalization loss,
rather than as an inexact result.</em> [18.2.1.2]/42 */ rather than as an inexact result. */
static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false;
/** True if-and-only-if the type adheres to the IEC 559 standard, also /** True if-and-only-if the type adheres to the IEC 559 standard, also
known as IEEE 754. (Only makes sense for floating point types.) */ known as IEEE 754. (Only makes sense for floating point types.) */
static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false;
/** <em>True if the set of values representable by the type is /** True if the set of values representable by the type is
finite. All built-in types are bounded, this member would be finite. All built-in types are bounded, this member would be
false for arbitrary precision types.</em> [18.2.1.2]/54 */ false for arbitrary precision types. */
static _GLIBCXX_USE_CONSTEXPR bool is_bounded = false; static _GLIBCXX_USE_CONSTEXPR bool is_bounded = false;
/** True if the type is @e modulo. A type is modulo if, for any /** True if the type is @e modulo. A type is modulo if, for any
...@@ -334,12 +332,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -334,12 +332,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
static _GLIBCXX_CONSTEXPR _Tp static _GLIBCXX_CONSTEXPR _Tp
infinity() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } infinity() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
/** The representation of a quiet <em>Not a Number</em>, /** The representation of a quiet Not a Number,
if @c has_quiet_NaN. */ if @c has_quiet_NaN. */
static _GLIBCXX_CONSTEXPR _Tp static _GLIBCXX_CONSTEXPR _Tp
quiet_NaN() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } quiet_NaN() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
/** The representation of a signaling <em>Not a Number</em>, if /** The representation of a signaling Not a Number, if
@c has_signaling_NaN. */ @c has_signaling_NaN. */
static _GLIBCXX_CONSTEXPR _Tp static _GLIBCXX_CONSTEXPR _Tp
signaling_NaN() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } signaling_NaN() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
......
...@@ -43,6 +43,11 @@ namespace std _GLIBCXX_VISIBILITY(default) ...@@ -43,6 +43,11 @@ namespace std _GLIBCXX_VISIBILITY(default)
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @addtogroup utilities
* @{
*/
// Adds a const reference to a non-reference type. // Adds a const reference to a non-reference type.
template<typename _Tp> template<typename _Tp>
struct __add_c_ref struct __add_c_ref
...@@ -1018,6 +1023,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1018,6 +1023,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
} }
}; };
/// tuple_cat
template<typename... _Tpls, typename = typename template<typename... _Tpls, typename = typename
enable_if<__and_<__is_tuple_like<_Tpls>...>::value>::type> enable_if<__and_<__is_tuple_like<_Tpls>...>::value>::type>
constexpr auto constexpr auto
...@@ -1030,11 +1036,13 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1030,11 +1036,13 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
return __concater::_S_do(std::forward<_Tpls>(__tpls)...); return __concater::_S_do(std::forward<_Tpls>(__tpls)...);
} }
/// tie
template<typename... _Elements> template<typename... _Elements>
inline tuple<_Elements&...> inline tuple<_Elements&...>
tie(_Elements&... __args) noexcept tie(_Elements&... __args) noexcept
{ return tuple<_Elements&...>(__args...); } { return tuple<_Elements&...>(__args...); }
/// swap
template<typename... _Elements> template<typename... _Elements>
inline void inline void
swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y) swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y)
...@@ -1080,8 +1088,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1080,8 +1088,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...) second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
{ } { }
/// @}
_GLIBCXX_END_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION
} // namespace } // namespace std
#endif // C++11 #endif // C++11
......
// C++11 type_traits -*- C++ -*- // C++11 <type_traits> -*- C++ -*-
// Copyright (C) 2007-2013 Free Software Foundation, Inc. // Copyright (C) 2007-2013 Free Software Foundation, Inc.
// //
...@@ -42,7 +42,7 @@ namespace std _GLIBCXX_VISIBILITY(default) ...@@ -42,7 +42,7 @@ namespace std _GLIBCXX_VISIBILITY(default)
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
/** /**
* @defgroup metaprogramming Metaprogramming and type traits * @defgroup metaprogramming Metaprogramming
* @ingroup utilities * @ingroup utilities
* *
* Template utilities for compile-time introspection and modification, * Template utilities for compile-time introspection and modification,
...@@ -62,15 +62,15 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -62,15 +62,15 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
constexpr operator value_type() { return value; } constexpr operator value_type() { return value; }
}; };
template<typename _Tp, _Tp __v>
constexpr _Tp integral_constant<_Tp, __v>::value;
/// The type used as a compile-time boolean with true value. /// The type used as a compile-time boolean with true value.
typedef integral_constant<bool, true> true_type; typedef integral_constant<bool, true> true_type;
/// The type used as a compile-time boolean with false value. /// The type used as a compile-time boolean with false value.
typedef integral_constant<bool, false> false_type; typedef integral_constant<bool, false> false_type;
template<typename _Tp, _Tp __v>
constexpr _Tp integral_constant<_Tp, __v>::value;
// Meta programming helper types. // Meta programming helper types.
template<bool, typename, typename> template<bool, typename, typename>
...@@ -145,7 +145,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -145,7 +145,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
struct __failure_type struct __failure_type
{ }; { };
// primary type categories. // Primary type categories.
template<typename> template<typename>
struct remove_cv; struct remove_cv;
...@@ -426,7 +426,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -426,7 +426,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
remove_cv<_Tp>::type>::value)> remove_cv<_Tp>::type>::value)>
{ }; { };
// composite type categories. // Composite type categories.
/// is_reference /// is_reference
template<typename _Tp> template<typename _Tp>
...@@ -484,7 +484,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -484,7 +484,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
typename remove_cv<_Tp>::type>::value)> typename remove_cv<_Tp>::type>::value)>
{ }; { };
// type properties. // Type properties.
/// is_const /// is_const
template<typename> template<typename>
...@@ -577,7 +577,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -577,7 +577,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ }; { };
// destructible and constructible type properties // Destructible and constructible type properties.
template<typename> template<typename>
struct add_rvalue_reference; struct add_rvalue_reference;
...@@ -1271,7 +1271,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1271,7 +1271,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ }; { };
// type relations. // Type relations.
/// is_same /// is_same
template<typename, typename> template<typename, typename>
...@@ -1320,7 +1320,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1320,7 +1320,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ }; { };
// const-volatile modifications. // Const-volatile modifications.
/// remove_const /// remove_const
template<typename _Tp> template<typename _Tp>
...@@ -1420,7 +1420,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1420,7 +1420,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ }; { };
// sign modifications. // Sign modifications.
// Utility for constructing identically cv-qualified types. // Utility for constructing identically cv-qualified types.
template<typename _Unqualified, bool _IsConst, bool _IsVol> template<typename _Unqualified, bool _IsConst, bool _IsVol>
...@@ -1617,7 +1617,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1617,7 +1617,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
struct make_signed<bool>; struct make_signed<bool>;
// array modifications. // Array modifications.
/// remove_extent /// remove_extent
template<typename _Tp> template<typename _Tp>
...@@ -1646,7 +1646,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1646,7 +1646,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ typedef typename remove_all_extents<_Tp>::type type; }; { typedef typename remove_all_extents<_Tp>::type type; };
// pointer modifications. // Pointer modifications.
template<typename _Tp, typename> template<typename _Tp, typename>
struct __remove_pointer_helper struct __remove_pointer_helper
...@@ -1789,7 +1789,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1789,7 +1789,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
template<typename... _Tp> template<typename... _Tp>
struct common_type; struct common_type;
// sfinae-friendly common_type implementation: // Sfinae-friendly common_type implementation:
struct __do_common_type_impl struct __do_common_type_impl
{ {
...@@ -1877,7 +1877,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1877,7 +1877,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
template<typename _Signature> template<typename _Signature>
class result_of; class result_of;
// sfinae-friendly result_of implementation: // Sfinae-friendly result_of implementation:
// [func.require] paragraph 1 bullet 1: // [func.require] paragraph 1 bullet 1:
struct __result_of_memfun_ref_impl struct __result_of_memfun_ref_impl
...@@ -2035,6 +2035,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -2035,6 +2035,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
>::type >::type
{ }; { };
/// @} group metaprogramming
/** /**
* Use SFINAE to determine if the type _Tp has a publicly-accessible * Use SFINAE to determine if the type _Tp has a publicly-accessible
* member type _NTYPE. * member type _NTYPE.
...@@ -2064,9 +2066,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -2064,9 +2066,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
<typename remove_cv<_Tp>::type>::value> \ <typename remove_cv<_Tp>::type>::value> \
{ }; { };
/// @} group metaprogramming
_GLIBCXX_END_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION
} // namespace } // namespace std
#endif // C++11 #endif // C++11
......
// C++0x typeindex -*- C++ -*- // C++11 <typeindex> -*- C++ -*-
// Copyright (C) 2010-2013 Free Software Foundation, Inc. // Copyright (C) 2010-2013 Free Software Foundation, Inc.
// //
...@@ -42,9 +42,12 @@ namespace std _GLIBCXX_VISIBILITY(default) ...@@ -42,9 +42,12 @@ namespace std _GLIBCXX_VISIBILITY(default)
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
/** /**
@brief The class type_index provides a simple wrapper for type_info * @brief Class type_index
which can be used as an index type in associative containers (23.6) * @ingroup utilities
and in unordered associative containers (23.7). *
* The class type_index provides a simple wrapper for type_info
* which can be used as an index type in associative containers
* (23.6) and in unordered associative containers (23.7).
*/ */
struct type_index struct type_index
{ {
...@@ -102,7 +105,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -102,7 +105,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
}; };
_GLIBCXX_END_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION
} // namespace } // namespace std
#endif // C++11 #endif // C++11
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
#pragma GCC system_header #pragma GCC system_header
#if defined(_GLIBCXX_INCLUDE_AS_CXX0X) #if defined(_GLIBCXX_INCLUDE_AS_CXX11)
# error TR1 header cannot be included from C++0x header # error TR1 header cannot be included from C++11 header
#endif #endif
#include <memory> #include <memory>
......
...@@ -847,7 +847,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -847,7 +847,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
: _M_flags(__f), _M_pattern(__first, __last), _M_mark_count(0) : _M_flags(__f), _M_pattern(__first, __last), _M_mark_count(0)
{ _M_compile(); } { _M_compile(); }
#ifdef _GLIBCXX_INCLUDE_AS_CXX0X #ifdef _GLIBCXX_INCLUDE_AS_CXX11
/** /**
* @brief Constructs a basic regular expression from an initializer list. * @brief Constructs a basic regular expression from an initializer list.
* *
...@@ -986,7 +986,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -986,7 +986,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
flag_type __flags = regex_constants::ECMAScript) flag_type __flags = regex_constants::ECMAScript)
{ return this->assign(string_type(__first, __last), __flags); } { return this->assign(string_type(__first, __last), __flags); }
#ifdef _GLIBCXX_INCLUDE_AS_CXX0X #ifdef _GLIBCXX_INCLUDE_AS_CXX11
/** /**
* @brief Assigns a new regular expression to a regex object. * @brief Assigns a new regular expression to a regex object.
* *
...@@ -1966,7 +1966,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1966,7 +1966,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
begin() const begin() const
{ return _Base_type::begin(); } { return _Base_type::begin(); }
#ifdef _GLIBCXX_INCLUDE_AS_CXX0X #ifdef _GLIBCXX_INCLUDE_AS_CXX11
/** /**
* @brief Gets an iterator to the start of the %sub_match collection. * @brief Gets an iterator to the start of the %sub_match collection.
*/ */
...@@ -1982,7 +1982,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1982,7 +1982,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
end() const end() const
{ return _Base_type::end(); } { return _Base_type::end(); }
#ifdef _GLIBCXX_INCLUDE_AS_CXX0X #ifdef _GLIBCXX_INCLUDE_AS_CXX11
/** /**
* @brief Gets an iterator to one-past-the-end of the collection. * @brief Gets an iterator to one-past-the-end of the collection.
*/ */
......
...@@ -205,6 +205,8 @@ if $do_html; then ...@@ -205,6 +205,8 @@ if $do_html; then
cd ${outdir}/${mode} cd ${outdir}/${mode}
#doxytag -t libstdc++.tag . > /dev/null 2>&1 #doxytag -t libstdc++.tag . > /dev/null 2>&1
# Strip pathnames from tag file.
sed -e '/<path>/d' libstdc++.tag > TEMP sed -e '/<path>/d' libstdc++.tag > TEMP
mv TEMP libstdc++.tag mv TEMP libstdc++.tag
......
...@@ -44,4 +44,4 @@ void test01() ...@@ -44,4 +44,4 @@ void test01()
tuple<Type> t(allocator_arg, a, 1); tuple<Type> t(allocator_arg, a, 1);
} }
// { dg-error "no matching function" "" { target *-*-* } 113 } // { dg-error "no matching function" "" { target *-*-* } 118 }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment