From 90c5e595231c63ce44d1dec08bf26406c346aa84 Mon Sep 17 00:00:00 2001 From: paolo Date: Tue, 24 Jan 2006 10:15:27 +0000 Subject: 2006-01-24 Ed Smith-Rowland <3dw4rd@verizon.net> * docs/html/faq/index.html ([5.2]): Mention TR1 and point to paragraph [5.5], describing it. ([5.5]): New. * docs/html/ext/tr1.html: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110165 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 7 + libstdc++-v3/docs/html/ext/tr1.html | 2314 +++++++++++++++++++++++++++++++++ libstdc++-v3/docs/html/faq/index.html | 81 +- 3 files changed, 2397 insertions(+), 5 deletions(-) create mode 100644 libstdc++-v3/docs/html/ext/tr1.html (limited to 'libstdc++-v3') diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 47b2319741a..ef4577ef87b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2006-01-24 Ed Smith-Rowland <3dw4rd@verizon.net> + + * docs/html/faq/index.html ([5.2]): Mention TR1 and point to + paragraph [5.5], describing it. + ([5.5]): New. + * docs/html/ext/tr1.html: New. + 2006-01-20 Benjamin Kosnik * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Verbose ld version diff --git a/libstdc++-v3/docs/html/ext/tr1.html b/libstdc++-v3/docs/html/ext/tr1.html new file mode 100644 index 00000000000..de432f40ed6 --- /dev/null +++ b/libstdc++-v3/docs/html/ext/tr1.html @@ -0,0 +1,2314 @@ + + + + + + + + + + + + Status of TR1 features in GCC + - GNU Project - Free Software Foundation (FSF) + + + + + + +

+ Status of TR1 features in GCC +

+ +

+This table is based on the table of contents of ISO/IEC DTR 19768 +Doc No: N1836=05-0096 Date: 2005-06-24 +Draft Technical Report on C++ Library Extensions +

+ +

+This page describes the TR1 support in mainline GCC CVS, not in any particular release. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SectionDescriptionDoneBrokenMissingComments
2General Utilities
2.1Reference wrappersdone
2.1.1Additions to header <functional> synopsisdone
2.1.2Class template reference_wrapperdone
2.1.2.1reference_wrapper construct/copy/destroydone
2.1.2.2reference_wrapper assignmentdone
2.1.2.3reference_wrapper accessdone
2.1.2.4reference_wrapper invocationdone
2.1.2.5reference_wrapper helper functionsdone
2.2Smart pointersdone
2.2.1Additions to header <memory> synopsisdone
2.2.2Class bad_weak_ptrdone
2.2.3Class template shared_ptrdone1
2.2.3.1shared_ptr constructorsdone
2.2.3.2shared_ptr destructordone
2.2.3.3shared_ptr assignmentdone
2.2.3.4shared_ptr modifiersdone
2.2.3.5shared_ptr observersdone
2.2.3.6shared_ptr comparisondone
2.2.3.7shared_ptr I/Odone
2.2.3.8shared_ptr specialized algorithmsdone
2.2.3.9shared_ptr castsdone
2.2.3.10get_deleterdone
2.2.4Class template weak_ptrdone
2.2.4.1weak_ptr constructorsdone
2.2.4.2weak_ptr destructordone
2.2.4.3weak_ptr assignmentdone
2.2.4.4weak_ptr modifiersdone
2.2.4.5weak_ptr observersdone
2.2.4.6weak_ptr comparisondone
2.2.4.7weak_ptr specialized algorithmsdone
2.2.5Class template enable_shared_from_thisdone
3Function objects
3.1Definitionsdone
3.2Additions to <functional> synopsisdone
3.3Requirementsdone
3.4Function return typesdone
3.5Function template mem_fndone
3.6Function object bindersdone
3.6.1Class template is_bind_expressiondone
3.6.2Class template is_placeholderdone
3.6.3Function template binddone
3.6.4Placeholdersdone
3.7Polymorphic function wrappersdone
3.7.1Class bad_function_calldone
3.7.1.1bad_function_call constructordone
3.7.2Class template functiondone
3.7.2.1function construct/copy/destroydone
3.7.2.2function modifiersdone
3.7.2.3function capacitydone
3.7.2.4function invocationdone
3.7.2.5function target accessdone
3.7.2.6undefined operatorsdone
3.7.2.7null pointer comparison operatorsdone
3.7.2.8specialized algorithmsdone
4Metaprogramming and type traits
4.1Requirementsdone
4.2Header <type_traits> synopsisdone
4.3Helper classesdone
4.4General Requirementsdone
4.5Unary Type Traitsdone
4.5.1Primary Type Categoriesdone
4.5.2Composite type traitsdone
4.5.3Type propertiesdone
4.6Relationships between typesdone
4.7Transformations between typesdone
4.7.1Const-volatile modificationsdone
4.7.2Reference modificationsdone
4.7.3Array modificationsdone
4.7.4Pointer modificationsdone
4.8Other transformationsdone
4.9Implementation requirementsdone
5Numerical facilities
5.1Random number generationmissing
5.1.1Requirementsmissing
5.1.2Header <random> synopsismissing
5.1.3Class template variate_generatormissing
5.1.4Random number engine class templatesmissing
5.1.4.1Class template linear_congruentialmissing
5.1.4.2Class template mersenne_twistermissing
5.1.4.3Class template subtract_with_carrymissing
5.1.4.4Class template subtract_with_carry_01missing
5.1.4.5Class template discard_blockmissing
5.1.4.6Class template xor_combinemissing
5.1.5Engines with predefined parametersmissing
5.1.6Class random_devicemissing
5.1.7Random distribution class templatesmissing
5.1.7.1Class template uniform_intmissing
5.1.7.2Class bernoulli_distributionmissing
5.1.7.3Class template geometric_distributionmissing
5.1.7.4Class template poisson_distributionmissing
5.1.7.5Class template binomial_distributionmissing
5.1.7.6Class template uniform_realmissing
5.1.7.7Class template exponential_distributionmissing
5.1.7.8Class template normal_distributionmissing
5.1.7.9Class template gamma_distributionmissing
5.2Mathematical special functionsmissing
5.2.1Additions to header <cmath> synopsismissing
5.2.1.1associated Laguerre polynomialsmissing
5.2.1.2associated Legendre functionsmissing
5.2.1.3beta functionmissing
5.2.1.4(complete) elliptic integral of the first kindmissing
5.2.1.5(complete) elliptic integral of the second kindmissing
5.2.1.6(complete) elliptic integral of the third kindmissing
5.2.1.7confluent hypergeometric functionsmissing
5.2.1.8regular modified cylindrical Bessel functionsmissing
5.2.1.9cylindrical Bessel functions (of the first kind)missing
5.2.1.10irregular modified cylindrical Bessel functionsmissing
5.2.1.11cylindrical Neumann functionsmissing
5.2.1.12(incomplete) elliptic integral of the first kindmissing
5.2.1.13(incomplete) elliptic integral of the second kindmissing
5.2.1.14(incomplete) elliptic integral of the third kindmissing
5.2.1.15exponential integralmissing
5.2.1.16Hermite polynomialsmissing
5.2.1.17hypergeometric functionsmissing
5.2.1.18Laguerre polynomialsmissing
5.2.1.19Legendre polynomialsmissing
5.2.1.20Riemann zeta functionmissing
5.2.1.21spherical Bessel functions (of the first kind)missing
5.2.1.22spherical associated Legendre functionsmissing
5.2.1.23spherical Neumann functionsmissing
5.2.2Additions to header <math.h> synopsismissing
6Containers
6.1Tuple typesdone
6.1.1Header <tuple> synopsisdone
6.1.2Additions to header <utility> synopsisdone
6.1.3Class template tupledone
6.1.3.1Constructiondone
6.1.3.2Tuple creation functionsdone
6.1.3.3Tuple helper classesdone
6.1.3.4Element accessdone
6.1.3.5Relational operatorsdone
6.1.4Pairsdone
6.2Fixed size arraydone
6.2.1Header <array> synopsisdone
6.2.2Class template arraydone
6.2.2.1array constructors, copy, and assignmentdone
6.2.2.2array specialized algorithmsdone
6.2.2.3array sizedone
6.2.2.4Zero sized arraysdone
6.2.2.5Tuple interface to class template arraydone
6.3Unordered associative containersdone
6.3.1Unordered associative container requirementsdone
6.3.1.1Exception safety guaranteesdone
6.3.2Additions to header <functional> synopsisdone
6.3.3Class template hashdone
6.3.4Unordered associative container classesdone
6.3.4.1Header <unordered_set> synopsisdone
6.3.4.2Header <unordered_map> synopsisdone
6.3.4.3Class template unordered_setdone
6.3.4.3.1unordered_set constructorsdone
6.3.4.3.2unordered_set swapdone
6.3.4.4Class template unordered_mapdone
6.3.4.4.1unordered_map constructorsdone
6.3.4.4.2unordered_map element accessdone
6.3.4.4.3unordered_map swapdone
6.3.4.5Class template unordered_multisetdone
6.3.4.5.1unordered_multiset constructorsdone
6.3.4.5.2unordered_multiset swapdone
6.3.4.6Class template unordered_multimapdone
6.3.4.6.1unordered_multimap constructorsdone
6.3.4.6.2unordered_multimap swapdone
7Regular expressions
7.1Definitionsmissing
7.2Requirementsmissing
7.3Regular expressions summarymissing
7.4Header <regex> synopsismissing
7.5Namespace tr1::regex_constantsmissing
7.5.1Bitmask Type syntax_option_typemissing
7.5.2Bitmask Type regex_constants::match_flag_typemissing
7.5.3Implementation defined error_typemissing
7.6Class regex_errormissing
7.7Class template regex_traitsmissing
7.8Class template basic_regexmissing
7.8.1basic_regex constantsmissing
7.8.2basic_regex constructorsmissing
7.8.3basic_regex assignmissing
7.8.4basic_regex constant operationsmissing
7.8.5basic_regex localemissing
7.8.6basic_regex swapmissing
7.8.7basic_regex non-member functionsmissing
7.8.7.1basic_regex non-member swapmissing
7.9Class template sub_matchmissing
7.9.1sub_match membersmissing
7.9.2sub_match non-member operatorsmissing
7.10Class template match_resultsmissing
7.10.1match_results constructorsmissing
7.10.2match_results sizemissing
7.10.3match_results element accessmissing
7.10.4match_results formattingmissing
7.10.5match_results allocatormissing
7.10.6match_results swapmissing
7.11Regular expression algorithmsmissing
7.11.1exceptionsmissing
7.11.2regex_matchmissing
7.11.3regex_searchmissing
7.11.4regex_replacemissing
7.12Regular expression Iteratorsmissing
7.12.1Class template regex_iteratormissing
7.12.1.1regex_iterator constructorsmissing
7.12.1.2regex_iterator comparisonsmissing
7.12.1.3regex_iterator dereferencemissing
7.12.1.4regex_iterator incrementmissing
7.12.2Class template regex_token_iteratormissing
7.12.2.1regex_token_iterator constructorsmissing
7.12.2.2regex_token_iterator comparisonsmissing
7.12.2.3regex_token_iterator dereferencemissing
7.12.2.4regex_token_iterator incrementmissing
7.13Modified ECMAScript regular expression grammarmissing
8C compatibility
8.1Additions to header <complex>done
8.1.1Synopsisdone
8.1.2Function acosdone
8.1.3Function asindone
8.1.4Function atandone
8.1.5Function acoshdone
8.1.6Function asinhdone
8.1.7Function atanhdone
8.1.8Function fabsdone
8.1.9Additional Overloadsdone
8.2Header <ccomplex>missing
8.3Header <complex.h>missing
8.4Additions to header <cctype>missing
8.4.1Synopsismissing
8.4.2Function isblankmissing
8.5Additions to header <ctype.h>missing
8.6Header <cfenv>missing
8.6.1Synopsismissing
8.6.2Definitionsmissing
8.7Header <fenv.h>missing
8.8Additions to header <cfloat>missing
8.9Additions to header <float.h>missing
8.10Additions to header <ios>missing
8.10.1Synopsismissing
8.10.2Function hexfloatmissing
8.11Header <cinttypes>missing
8.11.1Synopsismissing
8.11.2Definitionsmissing
8.12Header <inttypes.h>missing
8.13Additions to header <climits>missing
8.14Additions to header <limits.h>missing
8.15Additions to header <locale>missing
8.16Additions to header <cmath>missing
8.16.1Synopsismissing
8.16.2Definitionsmissing
8.16.3Function template definitionsmissing
8.16.4Additional overloadsmissing
8.17Additions to header <math.h>missing
8.18Additions to header <cstdarg>missing
8.19Additions to header <stdarg.h>missing
8.20The header <cstdbool>missing
8.21The header <stdbool.h>missing
8.22The header <cstdint>missing
8.22.1Synopsismissing
8.22.2Definitionsmissing
8.23The header <stdint.h>missing
8.24Additions to header <cstdio>missing
8.24.1Synopsismissing
8.24.2Definitionsmissing
8.24.3Additional format specifiersmissing
8.24.4Additions to header <stdio.h>missing
8.25Additions to header <cstdlib>missing
8.25.1Synopsismissing
8.25.2Definitionsmissing
8.25.3Function absmissing
8.25.4Function divmissing
8.26Additions to header <stdlib.h>missing
8.27Header <ctgmath>missing
8.28Header <tgmath.h>missing
8.29Additions to header <ctime>missing
8.30Additions to header <cwchar>missing
8.30.1Synopsismissing
8.30.2Definitionsmissing
8.30.3Additional wide format specifiersmissing
8.31Additions to header <wchar.h>missing
8.32Additions to header <cwctype>missing
8.32.1Synopsismissing
8.32.2Function iswblankmissing
8.33Additions to header <wctype.h>missing
+ +

Footnotes

+ +
    + +
  1. + + The shared_ptr implementation uses some code from the + Boost shared_ptr library. +
  2. + +
+ +

+Please send FSF & GNU inquiries & questions to +gnu@gnu.org. +There are also other ways +to contact the FSF. +

+ +

+These pages are maintained by +the GCC team. +

+ +
+For questions related to the use of GCC, please consult these web +pages and the GCC manuals. If +that fails, the gcc-help@gcc.gnu.org +mailing list might help.
+Please send comments on these web pages and the development of GCC to our +developer mailing list at gcc@gnu.org +or gcc@gcc.gnu.org. All of our lists +have public archives. +
+ +

+Copyright (C) Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110, USA. +

+

+Verbatim copying and distribution of this entire article is +permitted in any medium, provided this notice is preserved. +

+ + + + + + +
+ Last modified 2006-01-22 + + + Valid XHTML 1.0 + +
+ + + diff --git a/libstdc++-v3/docs/html/faq/index.html b/libstdc++-v3/docs/html/faq/index.html index a0315981b1c..e5290a3c521 100644 --- a/libstdc++-v3/docs/html/faq/index.html +++ b/libstdc++-v3/docs/html/faq/index.html @@ -113,7 +113,7 @@
  • What's next after libstdc++-v3?
  • What about the STL from SGI?
  • Extensions and Backward Compatibility
  • -
  • [removed]
  • +
  • Does libstdc++ support TR1?
  • Is libstdc++-v3 thread-safe?
  • How do I get a copy of the ISO C++ Standard?
  • What's an ABI and why is it so messy?
  • @@ -868,7 +868,7 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff
  • The ISO Committee will meet periodically to review Defect Reports in the C++ Standard. Undoubtedly some of these will result in changes to the Standard, which will be reflected in patches to - libstdc++. Some of that is already happening, see 4.2. Some of + libstdc++. Some of that is already happening, see 4.3. Some of those changes are being predicted by the library maintainers, and we add code to the library based on what the current proposed resolution specifies. Those additions are listed in @@ -891,6 +891,13 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff Bugfixes and rewrites (to improve or fix thread safety, for instance) will of course be a continuing task.

  • +
  • There is an effort underway to add significant extensions to + the standard library specification. The latest version of this effort is + described in + + The C++ Library Technical Report 1. + See 5.5. +

  • This question about the next libstdc++ prompted some brief but @@ -930,6 +937,13 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff e.g., <sys/stat.h>, <X11/Xlib.h>.

    +

    At this time most of the features of the SGI STL extension have been + replaced by standardized libraries. + In particular, the unordered_map and unordered_set containers of TR1 + are suitable replacement for the non-standard hash_map and hash_set + containers in the SGI STL. See 5.5 for more details. +

    +

    The extensions are no longer in the global or std namespaces, instead they are declared in the __gnu_cxx namespace. For maximum portability, consider defining a namespace @@ -966,9 +980,66 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff


    -

    5.5 [removed]

    -

    This question has become moot and has been removed. The stub - is here to preserve numbering (and hence links/bookmarks). +

    5.5 Does libstdc++ support TR1?

    + +

    The C++ Standard Library Technical Report adds many new features to the library. + The latest version of this effort is described in + + Technical Report 1. +

    + +

    libstdc++ strives to implement all of TR1. + The libstdc++ implementation status of the TR1 draft is listed in + this page. +

    + +

    Briefly, the features of TR1 and the current status are: +

    + +

    Unordered containers - Complete - + The unordered_set, unordered_map, unordered_multiset, and unordered_multimap containers + are hashed versions of the map, set, multimap, and multiset containers respectively. + These classes are suitable replacements for the SGI STL hash_map and hash_set extensions. +

    + +

    Reference-counted smart pointers - Complete - + The shared_ptr and weak_ptr allow several object to know about a pointer and whether it is valid. + When the last reference to the pointer is destroyed the pointer is freed. +

    + +

    Type traits - Complete - + The type_traits class gives templates the ability to probe information about the input type + and enable type-dependent logic to be performed without the need of template specializations. +

    + +

    Fixed-size arrays - Complete - + The array class implements small fixed-sized arrays with container semantics. +

    + +

    Tuples - Complete - + The tuple class implements small heterogeneous arrays. This is an enhanced pair. + In fact, the standard pair is enhanced with a tuple interface. +

    + +

    A regular expression engine + This library provides for regular expression objects with traversal of + text with return of subexpressions. +

    + +

    A random number engine + This library contains randow number generators with several different choices + of distribution. +

    + +

    Special functions - Under construction - + Twenty-three mathematical functions familiar to physicists and engineers are included: + cylindrical and spherical Bessel and Neumann functions, hypergeometric functions, + Laguerre polynomials, Legendre functions, elliptic integrals, exponential integrals + and the Riemann zeta function all for your computing pleasure. +

    + +

    C99 compatibility - Under construction - + There are many features designed to minimize the divergence of the C and the C++ languages.


    -- cgit v1.2.1