$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2006-01-26 10:21:40
"Tobias Schwinger" <tschwinger_at_[hidden]> wrote
> Arkadiy Vertleyb wrote:
> > template<class T, class Pred = std::less<T>, class A = std::allocator<T>
>
> > class set;
> >
> > BOOST_TYPEOF_REGISTER_TEMPLATE(std::set, 1) // error
> > BOOST_TYPEOF_REGISTER_TEMPLATE(std::set, 2) // error
> > BOOST_TYPEOF_REGISTER_TEMPLATE(std::set, 3) // OK
> >
>
> Would it be possible to allow Typeof registration of partially specialized
> templates?
It seems that it would be very hard to achieve any decent syntax :-(
For example, how would we handle commas _inside_ the parameters:
REGISTER_SPEC((class T), (A<)(vector<T*, allocator<T*> >))
^^^^^^^^^^
Breaking at every comma and placing every part into the sequence element
just to pass in an unstructured string?
Regards,
Arkadiy