2
0
mirror of https://github.com/boostorg/yap.git synced 2026-01-24 06:32:08 +00:00

3 Commits

Author SHA1 Message Date
Glen Fernandes
110b8c4e48 Switch from deprecated minimal.hpp to Boost.LWT 2021-06-07 20:58:44 -05:00
pkeir
3771507b1d Added the constexpr specifier to the placeholder_transform_t construc… (#95)
* Added the constexpr specifier to the placeholder_transform_t constructor, alog with tests - to confirm replace_placeholders, and other supplied transforms, are now working at compile time.

* Added macro guards to avoid new tests which fail under MSVC. Also added the second string argument to the static asserts to maintain C++14.

* Removing tests which cause problems for older versions of GCC.

* Scaled the tests back to work with GCC 6.

* ...and of course C++14-style static asserts.
2020-01-01 14:15:50 -06:00
pkeir
e7ebfd3f38 Fixed an bug in placeholder_transform_t::operator() which used a non-… (#94)
* Fixed an bug in placeholder_transform_t::operator() which used a non-existent value member of rvalue_mover. This allows replacements() and replace_placeholders() to be used. Also added a test file which checks these two, as well as evaluation().

* Unlike the evaluation transform, the placeholder transform returns an expression, and so should work with print. A print test was also added.
2019-08-10 21:27:03 -05:00