Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2021. The current version is 1.89.0.
Phoenix uses boost::is_placeholder for recognizing placeholders:
template <typename T> struct is_placeholder { static const int value = 0; };
To adapt your own placeholder, the nested value needs to be greater than 0 for your types. This is done by specializing this trait.