source: liblaziness/functional.h @ 24

Last change on this file since 24 was 4, checked in by artyom, 13 years ago

liblaziness

File size: 188 bytes
Line 
1#ifndef __FUNCTIONAL_H__
2#define __FUNCTIONAL_H_
3
4template<typename T, typename TOut>
5auto 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.