> The problem is, VA _has_ std::abs. You just need a specialization for 
> long long then.
> 
> namespace std {
> template<> long long abs(long long n) { return llabs(n); }
> }
> 
> Don't know if this is legal, though.

How about just skipping the template:

#ifdef _VA_WHATEVER_COMPILER_MACRO_IS
 namespace std {
   long long abs(long long n) { return llabs(n); }
 }
#endif

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

Reply via email to