On Monday, January 6, 2003, at 06:50  PM, David Abrahams wrote:

OK, I see your point.  How about:

  template <class T>
  struct my_container
     : if_<
          and_<
               is_pointer<T>
             , is_POD<remove_pointer<T> >

          , impl1
          , impl2
::type
  {
     ...
  };
Or maybe even just:

  template <class T>
  struct my_container
     : if_<is_POD<T>::value, impl1, impl2>::type
  {
     ...
  };

-Howard

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to