On Wed, 31 Jan 2007 23:26:06 +0000 Ciaran McCreesh <[EMAIL PROTECTED]> wrote: | virtual/tr1-memory | virtual/tr1-unordered-containers | virtual/tr1-random | virtual/tr1-regex | | Rather a lot of work, and rather icky...
Looking at this some more... We're probably talking about needing the following new style virtuals: tr1-utilities (tuples and smart pointers) tr1-containers (array and unordered associative containers) tr1-call-wrappers (mem_fn, reference_wrapper, function, bind) tr1-type-traits tr1-numerics tr1-regex tr1-c-compatibility The category names match up with the chapter names in "The C++ Standard Library Extensions" (Pete Becker / Addison Wesley / 0-321-41299-0). In terms of providers: g++-4.1 has utilities, containers, call-wrappers and type-traits. g++-4.2 adds c-compatibility and numerics. boost has utilities, containers, call-wrappers, type-traits, numerics and regex, but in the wrong namespaces. There's a boost tr1 wrapper being developed, and everything I've seen that uses tr1 so far includes the namespace using wrappers to make boost an option. Also note that boost focuses more upon getting stuff to work with every single compiler than upon decent performance or making things not take weeks to compile -- most boost headers pull in several megs of other header files, which *really* hurts compile times. There are already quite a few packages out there using utilities and containers. So far tr2 isn't sufficiently standardised to be relevant to this discussion. -- Ciaran McCreesh Mail : ciaranm at ciaranm.org Web : http://ciaranm.org/ Paludis, the secure package manager : http://paludis.pioto.org/
signature.asc
Description: PGP signature
