source:
liblaziness/functional.h
@
26
| Last change on this file since 26 was 4, checked in by artyom, 13 years ago | |
|---|---|
| File size: 188 bytes | |
| Line | |
|---|---|
| 1 | #ifndef __FUNCTIONAL_H__ |
| 2 | #define __FUNCTIONAL_H_ |
| 3 | |
| 4 | template<typename T, typename TOut> |
| 5 | auto operator >> (R<T> arg, R<TOut> (*fun)(R<T>)) -> decltype(fun(arg)) |
| 6 | { |
| 7 | return fun(arg); |
| 8 | } |
| 9 | |
| 10 | #endif |
Note: See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/trac/tamop/chrome/site/your_project_logo.png)