mirror of
https://github.com/boostorg/lambda2.git
synced 2025-05-11 05:33:57 +00:00
Rename BOOST_LAMBDA2_PREFIX_FN to BOOST_LAMBDA2_UNARY_FN
This commit is contained in:
parent
547fed5227
commit
a01d4473ab
@ -64,7 +64,7 @@ namespace lambda2_detail
|
||||
|
||||
// additional function objects
|
||||
|
||||
#define BOOST_LAMBDA2_PREFIX_FN(op, fn) \
|
||||
#define BOOST_LAMBDA2_UNARY_FN(op, fn) \
|
||||
struct fn \
|
||||
{ \
|
||||
template<class T> decltype(auto) operator()(T&& t) const \
|
||||
@ -94,8 +94,8 @@ namespace lambda2_detail
|
||||
BOOST_LAMBDA2_BINARY_FN(<<, left_shift)
|
||||
BOOST_LAMBDA2_BINARY_FN(>>, right_shift)
|
||||
|
||||
BOOST_LAMBDA2_PREFIX_FN(+, unary_plus)
|
||||
BOOST_LAMBDA2_PREFIX_FN(*, dereference)
|
||||
BOOST_LAMBDA2_UNARY_FN(+, unary_plus)
|
||||
BOOST_LAMBDA2_UNARY_FN(*, dereference)
|
||||
|
||||
// operators
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user