> Rather than specifying that information for each object I
> I used, and thus potentially screwing it up in numerous
> places, it would have saved a fair amount of time if I had
> been able to apply that template to the namespace I had
> wrapped all of those classes in.
Hmmm. Given that a namespace can be re-opened in several source files, this would place a bit of a burden on other people populating that NS.
I don't see it would save you much.
template< typename T >
namespace X
{
class Z
{
};
}
using X< int >::Z;
How do you get an object of type Z?
Z< int > z;
//or
Z z;
You lose ease of understanding for ease of typing.