4 #include <unordered_set>
13 const std::string &message,
14 const std::string &type
34 const std::vector<BibElement> &values
35 ) noexcept -> std::unordered_set<std::string> {
36 std::unordered_set<std::string> result{};
37 std::for_each(std::cbegin(values),
40 std::transform(std::cbegin(element.
attributes),
42 std::inserter(result, std::end(result)),
43 [](
const Field &field) {
56 const std::vector<Field> &fields
57 ) noexcept -> std::vector<Field> {
58 std::vector<Field> sortedFields{std::cbegin(fields), std::cend(fields)};
59 std::sort(std::begin(sortedFields), std::end(sortedFields), [](
const Field &l,
const Field &r) {