luau/EqSat/include/Luau/Id.h
Alexander McCord ab0d7c0387 Add Luau.EqSat project with some barebones.
I have to comment out the `add_subdirectory(fuzz)` in order to allow cmake to finish the configuring step on Windows.
2024-05-18 01:07:45 -07:00

20 lines
368 B
C++

// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
#pragma once
namespace Luau::EqSat
{
struct Id final
{
explicit Id(size_t id);
explicit operator size_t() const;
bool operator==(Id rhs) const;
bool operator!=(Id rhs) const;
private:
size_t id;
};
} // namespace Luau::EqSat