You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
319 B
20 lines
319 B
#pragma once |
|
|
|
#include <string> // std::string |
|
#include <utility> // std::move |
|
|
|
namespace Inferno { |
|
|
|
struct TagComponent { |
|
std::string tag; |
|
|
|
TagComponent() = default; |
|
TagComponent(const std::string& tag) |
|
: tag(std::move(tag)) |
|
{ |
|
} |
|
|
|
operator const std::string&() const { return tag; } |
|
}; |
|
|
|
} // namespace Inferno
|
|
|