Search code examples
c++stlboosttr1use-case

What is a good use case for tr1::result_of?


I hear that tr1::result_of gets used frequently inside of Boost... I'm wondering if there are any good (simple) use cases for tr1::result_of I can use at home.


Solution

  • A description of result_of is given at open_std.org. Microsoft has a quick example of a unit test wrapper that uses result_of.