
"John Maddock" <john@johnmaddock.co.uk> wrote in message news:022b01c4f0e4$48c92cd0$f72f0d52@fuji... | >> Any thoughts from the type_traits authors? | > | > I think decayed is an excellent trait. Your implementation should be | > modified to also take care of functions converting into function pointers | > though. It's a shame about the const qaulifier in your example make_pair | > messing up the int[10] conversion to int*. | | I agree that it should work for function to function-pointer conversions as | well. | | I've attached a slightly improved version that gets your non-const make_pair | working, also uses remove_bounds rather than the range lib traits (just to | keep things in the type_traits family). I can't see your attachment; would you mind post it again? Thanks -Thorsten