23 May
2013
23 May
'13
5:19 a.m.
On Wed, May 22, 2013 at 5:16 AM, Larry Evans <cppljevans@suddenlink.net>wrote:
On 05/21/13 18:04, Larry Evans wrote:
On 05/21/13 15:43, Louis Dionne wrote:
[...]
template <typename S1, typename S2, typename Pred = is_same<_, _> > struct equal;
[...]
template< typename BOOST_MPL_AUX_NA_PARAM(Sequence1) , typename BOOST_MPL_AUX_NA_PARAM(Sequence2) #ifdef LJE_USE_LAMBDA_PREDICATE_IS_SAME , typename Predicate = typename lambda<is_same<_,_> >::type #else , typename Predicate = is_same<_,_> #endif > struct equal
[...] Quick note: might as well use quote2<is_same> rather than lambda<is_same<_,_>>::type...at least, I think so, I've never actually used mpl::_ myself. - Jeff