rollbear / lift

constexpr C++17 library for simplifying higher order functions in application code
Boost Software License 1.0
195 stars 8 forks source link

revert back lift-thrice macro #8

Open jiayuehua opened 1 year ago

jiayuehua commented 1 year ago

otherwise many funciton like negate that use this macro report error.

jiayuehua commented 1 year ago

@rollbear

rollbear commented 1 year ago

Apologies for my long absence.

Can you please elaborate on why and how this causes problems? Is there, in your opinion, a way to solve the problem the PR fixed without reverting the whole thing?

jiayuehua commented 1 year ago

For example negate call LIFT_THRICE marco https://github.com/rollbear/lift/blob/3927d06415f930956341afd5bc223f912042d7e4/include/lift.hpp#L147 . I don't know a better way.