
"Arkadiy Vertleyb" <vertleyb@hotmail.com> writes:
Neither compiler reported any ODR violation.
So I invite you to take another look at the simplified registration process. Another small addition was two macros:
BOOST_TYPEOF_TPL(expr), and BOOST_AUTO_TPL(var, expr)
that are intended to be used in templates, when the expression depends on template parameters. These macros take care of adding or not adding the "typname" keyword depending on whether typeof is emulated, or the native one is used.
We should try this stuff out with EDG-based compilers in their "template repository" link-time-instantiation mode. Also I think Metrowerks now supports the same thing. These are the most likely configurations to report problems from ODR violations. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com