Boost logo

Boost Users :

Subject: Re: [Boost-users] [type_traits] an is_iterator, not is_pointer, trait
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-11-03 18:43:39


>> ::boost::type_traits::ice_and<
>>  ::boost::type_traits::ice_not< ::boost::is_pointer< T >::value >::value,
>>  ::boost::has_post_increment< T >::value,
>>  ::boost::has_dereference< T >::value
>>> ::value
>
> Thanks Frédéric, that's the path I was heading down.  I appreciate the help!

I forgot to mention that this works only with 1.48.0 as the operator
detection is new to this release.

Frédéric


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