$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [type_traits] extension has_operator_xxx - conforming to coding guidelines for ICE
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-02-03 18:10:30
> you could try to add an indirection.
>
> template <class T, bool B>
> struct foobar_aux;
>
> template <class T>
> struct foobar : foobar_aux<T, ::boost::is_integral<T>::value> {};
Yes, this looks to be the right solution.
Thanks!
Frédéric