Exclude& Exclude::excludeBefore(const name::Component& to) { return excludeRange(ExcludeComponent(true), to); }
Exclude& Exclude::excludeRange(const name::Component& from, const name::Component& to) { return excludeRange(ExcludeComponent(from), to); }
/** * Exclude all components in the range ending at "to". * @param exclude The Exclude object to update. * @param to The last component in the exclude range. */ static void excludeBefore(Exclude& exclude, const Name::Component& to) { excludeRange(exclude, Name::Component(), to); }