Displaying 2 results from an estimated 2 matches for "disable_if".
2007 Jul 04
1
[LLVMdev] API design (and Boost and tr1)
...nstructor
is a better match, it is selected over the Value * constructors.
To get around this problem, I've used SFINAE to remove the template
constructors from the overload set when passed pointers to classes derived
from Value:
namespace detail {
template<bool value>
struct disable_if {};
template<>
struct disable_if<false> {
typedef int type;
};
}
/// CallInst - This class represents a function call, abstracting a target
[...]
/// Construct a CallInst given a range of arguments. InputIterator
/// must be a random-access iterator point...
2007 Jul 03
4
[LLVMdev] API design
On Monday 02 July 2007 16:26, Chris Lattner wrote:
> On Sun, 1 Jul 2007, Nick Lewycky wrote:
> > I've been running LLVM with _GLIBCXX_DEBUG (extra checks) turned on to
> > see what would happen, and it's been a complete disaster.
Well, that's a bit harsh, isn't it? It's finding bugs, just like it's
supposed to. :)
I believe I've started to run into