
"Tobias Schwinger" <tschwinger@neoscientists.org> wrote
[discussing approach with the function type...]
So, if we decided to implement this approach, the following would need to be done: 1) change encode_type to modify the type before forwarding it to encode_type_impl, such as (pseudo-code): if (void) typedef my_return_type(*)(my_void) type; else if (const void) typedef my_return_type(*)(my_const_void) type; ... else typedef my_return_type(*)(T) type; (using function pointer would probably be more portable) 2) change all specializations of encode_type_impl to specialize on my_return_type(*)(T) instead of T, and to restore the special types; 3) implement REGISTER_SPEC in terms of parenthesized parameter. Do I understand this correctly? As far as wrapping is concerned, Outlook Express forces me to enter a value between 30 and 132 :-( Regards, Arkadiy