Subject: Re: [Boost-users] Meaning of or_<> with empty arguments
From: Mickael Wolff (mickael_at_[hidden])
Date: 2008-12-14 02:35:21


Reetesh Mukul a écrit :
> Hi,
>
> This code compiles:-

   If you don't have, get a book about C++ ;) . Templates can have
default parameters like functions :

template<typename LEFT = bool, typename RIGHT = bool>
compare(LEFT, RIGHT) ;

-- 
Mickaël Wolff aka Lupus Michaelis
Racine <http://lupusmic.org>
Blog   <http://blog.lupusmic.org>