btool
A parser/converter/transpiler for .bib files
Field.cpp
Go to the documentation of this file.
1 #include <Field.hpp>
2 #include <utility>
3 
9 auto Field::operator==(const Field &other) const noexcept -> bool {
10  return name == other.name && value == other.value;
11 }
12 
19 auto operator<<(std::ostream &os, Field const &field) -> std::ostream & {
20  return os << "(name=" << field.name << ", value=" << field.value << ")";
21 }
Field
Field-Container.
Definition: Field.hpp:11
operator<<
auto operator<<(std::ostream &os, Field const &field) -> std::ostream &
Definition: Field.cpp:19
name
char const *const name
Definition: HtmlGenerator.hpp:53
Field.hpp
Field::operator==
auto operator==(const Field &other) const noexcept -> bool
Definition: Field.cpp:9