$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Fletcher (J.P.Fletcher_at_[hidden])
Date: 2003-03-07 11:54:14
Pavol Droba wrote:
> I wanted to do something else:
>
> template <class T> struct trait_class
> {
> ....
> }
>
> template <class T> struct trait_class<std::vector<T> >
> {
> ....
> }
>
> without #include <vector>
>
> Is this possible? Or is there a way how to achieve the same efect, but without including <vector>?
>
> I see, that is probably isn't ..
>
> Pavol
> _______________________________________________
> Unsubscribe & other changes: http://listarchives.boost.org/mailman/listinfo.cgi/boost
Pavol
Could you put each specialisation in a separate header file and arrange only to include the ones which you
need, the vector one when you include <vector> etc?
Just a thought
John