|
Boost Users : |
Subject: Re: [Boost-users] generic programming : variadic virtual function
From: Bruno Lalande (bruno.lalande_at_[hidden])
Date: 2009-08-26 09:55:08
Wouldn't the following give the desired result?
template<typename S, typename W>
class derived : public baseclass<S,W>
{
void operator()(S s, W w);
}
template<typename S>
class derived<S, void> : public baseclass<S,void>
{
void operator()(S s);
}
Regards
Bruno
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net