
26 May
2005
26 May
'05
11:06 p.m.
"Alexander Nasonov" <alnsn-boost@yandex.ru> 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