c++ Programming Glossary: has_insertion_operator
Using SFINAE to check for global operator<<? http://stackoverflow.com/questions/5768511/using-sfinae-to-check-for-global-operator inline typename enable_if std is_pointer T value has_insertion_operator T value void type to_string T const t OutputStringType out.. out std ostringstream o o t out o.str My implementation of has_insertion_operator so far is struct sfinae_base typedef char yes 1 typedef char.. char yes 1 typedef char no 2 template typename T struct has_insertion_operator sfinae_base template typename U static yes test U template typename..
|