$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Max Skaller (skaller_at_[hidden])
Date: 2001-06-26 17:06:17
Jeremy Siek wrote:
> Now, what if we don't want to use the default allocator of std::vector,
> but some other allocator? How can we pass in std::vector into foo but also
> specify some other allocator? With template templates parameters you can
> not do this. However, with the workaround it is easy:
This is really a fault in the language. A partial specialisation
of a template is also conceptually a template, we just don't
have a 'template typedef' to allow us to pass it.
-- John (Max) Skaller, mailto:skaller_at_[hidden] 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 New generation programming language Felix http://felix.sourceforge.net Literate Programming tool Interscript http://Interscript.sourceforge.net