Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-05-26 18:06:37


"Alexander Nasonov" <alnsn-boost_at_[hidden]> wrote

> One idea came to my mind. In order to avoid ODR violations, can we switch
> from definitions to declarations?
>
> Every BOOST_TYPEOF_REGISTER_TYPE macro could add overloaded reg_entry
> function which encodes a given type T:
>
> template<class T>
> char (& reg_entry(identity<T>) ) [CODE1][CODE2] ... [CODE50];

Not sure I understand this... Can you ellaborate?

Regards,
Arkadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk