Re: C++ code compiles with libstdc++ but not libc++
Re: C++ code compiles with libstdc++ but not libc++
- Subject: Re: C++ code compiles with libstdc++ but not libc++
- From: Jean-Denis MUYS <email@hidden>
- Date: Tue, 02 Oct 2012 16:31:46 +0000
- Thread-topic: C++ code compiles with libstdc++ but not libc++
On 2 oct. 2012, at 18:18, Howard Hinnant <email@hidden>
wrote:
> It is this:
>
> template< class T >
> inline bool
> operator!=( const T& x, const T& y )
> {
> return !( x == y );
> }
>
> that is the trouble maker.
>
> Howard
>
Thanks,
If I remove it, other parts of the library fail to compile (classes with no ancestors in the STL for example).
Besides, I can't see any problem with this template function.
Is there a way for me to resolve the ambiguity, for example by telling the compiler which implementation it should take in priority?
Thanks,
Jean-Denis
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden