|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-06-21 07:49:15
Allen <yaozhen_at_[hidden]> writes:
> David Abrahams wrote:
>
>> namespace whatever
>> {
>> class foo {};
>>
>> template <class T, int = 0>
>
> Wonderful solution! However, I wonder what the default template argument
> here (int = 0) is for?
You might need to do this more than once for a given T.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk