collection resolver progress
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef MATADOR_COLLECTION_UTILS_HPP
|
||||
#define MATADOR_COLLECTION_UTILS_HPP
|
||||
|
||||
#include <string>
|
||||
#include <typeindex>
|
||||
|
||||
namespace matador::object {
|
||||
struct collection_composite_key {
|
||||
std::type_index root_type;
|
||||
std::type_index type;
|
||||
std::string name;
|
||||
|
||||
bool operator==(const collection_composite_key& other) const;
|
||||
};
|
||||
|
||||
struct collection_composite_key_hash {
|
||||
std::size_t operator()(const collection_composite_key& k) const noexcept;
|
||||
};
|
||||
}
|
||||
#endif //MATADOR_COLLECTION_UTILS_HPP
|
||||
Reference in New Issue
Block a user