Forbid redefenition of builtin types

This commit is contained in:
2025-03-14 11:22:11 +01:00
parent ac084be7f5
commit fa73f14070
6 changed files with 124 additions and 39 deletions

View File

@ -247,6 +247,11 @@ namespace boot
return tag == type_tag::empty;
}
alias_type::alias_type(const std::string& name)
: name(name), reference()
{
}
pointer_type::pointer_type(type base)
: base(base)
{