Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@×××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] tr1 dependencies
Date: Thu, 01 Feb 2007 19:54:07
Message-Id: 20070201195104.59865b5c@snowdrop
In Reply to: Re: [gentoo-dev] tr1 dependencies by Ciaran McCreesh
1 On Wed, 31 Jan 2007 23:26:06 +0000 Ciaran McCreesh
2 <ciaranm@×××××××.org> wrote:
3 | virtual/tr1-memory
4 | virtual/tr1-unordered-containers
5 | virtual/tr1-random
6 | virtual/tr1-regex
7 |
8 | Rather a lot of work, and rather icky...
9
10 Looking at this some more... We're probably talking about needing the
11 following new style virtuals:
12
13 tr1-utilities (tuples and smart pointers)
14 tr1-containers (array and unordered associative containers)
15 tr1-call-wrappers (mem_fn, reference_wrapper, function, bind)
16 tr1-type-traits
17 tr1-numerics
18 tr1-regex
19 tr1-c-compatibility
20
21 The category names match up with the chapter names in "The C++ Standard
22 Library Extensions" (Pete Becker / Addison Wesley / 0-321-41299-0).
23
24 In terms of providers:
25
26 g++-4.1 has utilities, containers, call-wrappers and type-traits.
27
28 g++-4.2 adds c-compatibility and numerics.
29
30 boost has utilities, containers, call-wrappers, type-traits, numerics
31 and regex, but in the wrong namespaces. There's a boost tr1 wrapper
32 being developed, and everything I've seen that uses tr1 so far includes
33 the namespace using wrappers to make boost an option. Also note that
34 boost focuses more upon getting stuff to work with every single
35 compiler than upon decent performance or making things not take weeks
36 to compile -- most boost headers pull in several megs of other header
37 files, which *really* hurts compile times.
38
39 There are already quite a few packages out there using utilities and
40 containers.
41
42 So far tr2 isn't sufficiently standardised to be relevant to this
43 discussion.
44
45 --
46 Ciaran McCreesh
47 Mail : ciaranm at ciaranm.org
48 Web : http://ciaranm.org/
49 Paludis, the secure package manager : http://paludis.pioto.org/

Attachments

File name MIME type
signature.asc application/pgp-signature