13 行
340 B
C++
13 行
340 B
C++
namespace nall::vfs {
|
|
|
|
struct attribute {
|
|
attribute(const string& name, const any& value = {}) : name(name), value(value) {}
|
|
auto operator==(const attribute& source) const -> bool { return name == source.name; }
|
|
auto operator< (const attribute& source) const -> bool { return name < source.name; }
|
|
|
|
string name;
|
|
any value;
|
|
};
|
|
|
|
}
|