#include <aterm.hh>
template<typename Inputs, typename Out>
(std::is_same_v<Inputs, FullInputs>
&& (std::is_same_v<Out, Output> || std::is_same_v<Out, Output::InputAddressed>
|| std::is_same_v<Out, Output::Deferred>) )
|| (std::is_same_v<Inputs, masked::HashInputs>
&& (std::is_same_v<Out, Output::InputAddressed> || std::is_same_v<Out, Output::Deferred>) )
The derivation shapes unparse below can print: with the inputs already flattened (FullInputs), or with them replaced by their masked hashes (masked::HashInputs), which is the form whose hash is an input address.
- Note
- This is a named concept rather than a requires clause written out at each declaration because two atomic constraints are only identical when formed from the same appearance of an expression; spelling the same condition twice would declare two distinct overloads.