|
Boost : |
From: Jeff Garland (jeff_at_[hidden])
Date: 2001-07-20 07:44:47
Steve wrote:
> You can specify them in your forward header, and not in your implementation
> header. That's what I do for poolfwd.hpp:
>
> //map_fwd.hpp
> namespace std {
> template <class Key,
> class T,
> class Compare = std::less<T>,
> class Alloc = std::allocator<T> >
> class multimap;
> }
Right, but if the library the author didn't provide this forward declaration a
third party cannot provide the defaults since the library header already defines
these and then the compilers complain....
Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk