Boost logo

Boost Users :

Subject: Re: [Boost-users] boost.type_traits - is_convertible issue withalignedtypes
From: Christoph Heindl (christoph.heindl_at_[hidden])
Date: 2011-01-19 02:16:56


>
> If so, do you have a patch at hands?

I think i did figure it out myself. Something along the lines of
(removed preprocessor directives for brevity)

  template <typename From, typename To>
  struct is_convertible_basic_impl
  {
     BOOST_STATIC_CONSTANT(bool, value = __is_convertible_to(From, To));
  };

works. It remains unclear what side effects are caused by this patch.

Best regards,
Christoph


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