MCPcopy Create free account
hub / github.com/boostorg/parser / adjust_combining_groups

Class adjust_combining_groups

include/boost/parser/parser.hpp:3941–3951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3939 };
3940 template<int MaxGroupIdx>
3941 struct adjust_combining_groups
3942 {
3943 template<typename T, typename U>
3944 constexpr auto operator()(T result, U x) const
3945 {
3946 if constexpr (U::value <= 0)
3947 return hl::append(result, x);
3948 else
3949 return hl::append(result, llong<MaxGroupIdx + U::value>{});
3950 }
3951 };
3952 template<typename Tuple1, typename Tuple2>
3953 constexpr auto make_combined_combining(Tuple1 lhs, Tuple2 rhs)
3954 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected