Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-04-12 07:06:20

Check it out, I can't get the following program to compile, even with

namespace ns1
  class X{};
  int swap(X&, X&);

namespace ns2
  template <class T>
  void swap(T&, T&);

int main()
    ns1::X x;
    using ns2::swap;
    int y = swap(x,x);

Shouldn't we be setting
It's actually a different bug in some details, I realize, but the
macro does say the right thing.

Also, where is the test for that macro? I don't see any in libs/config/test.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at