Boost logo

Boost :

Subject: [PR#107] Remove dependency on Boost TypeTraits and MPL
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2018-06-25 08:04:25


Hi,

TL;TR: Is it desired? Is it feasible?

I've opened WIP PR for this task
https://github.com/boostorg/gil/pull/107

It is mostly done with one non-trivial task to be completed:
to replace indirect uses of boost::mpl::bool_ returned from
MPL metafunctions (eg. boost::mpl::contains)
- remember std::is_same(mpl::bool_, std::bool_constant) is NOT.

This task is a bit challenging becuase in GIL, there are
lots of types derived from MPL types

I don't have any extensive experience with Boost.MPL specifically
under my sleave, so I may be missing some obvious tricks on
how to capture MPL results as std::bool_constant.

Any help and ideas greatly appreciated.

Note, this PR is definitely going to follow the Grand Merge
and may become a long-running PR.

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

Boost list run by Boost-Gil-Owners