Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-04-05 14:25:03


Michael Fawcett <michael.fawcett <at>> writes:

> I think that problem only arises if you actually define units in a
> source file instead of a header file. That shortcoming could just be
> documented, since it seems pretty rare that someone would define their
> custom unit in a source file instead of a header. If they really
> wanted to do that, they could still just use the current method.
> A quick test with VC8.0 just now shows that even __COUNTER__ has that
> problem when used in source files, but in headers Paul M.'s method
> works just fine.

Did you try multiple headers putting the #includes
in different orders?

In Christ,
Steven Watanabe

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