Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2002-02-24 08:29:27


----- Original Message -----
> I envisaged doing this with and extended auto_sequence. Suppose you
> have
>
> template< class T > class my_nifty_container {
> ...
> void some_func();
> };
>
> then you could auto-ize this with
>
> template< class T > class my_auto_nifty_container
> : public auto_sequence< my_nifty_container<T*> >
> {
> // ... constructors ...
>
> using my_nifty_container<T>::some_func;
> };

Although I just realised that perhaps I'd need auto_sequence to derive
protected-ly instead of private-ly from the underlying container for
this to work. I'll have to try it...

Mark


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk