$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jeff Garland (jeff_at_[hidden])
Date: 2003-02-18 12:10:56
> 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