meta: minor changes

This commit is contained in:
Michele Caini
2022-09-15 10:20:29 +02:00
parent 4f3faef153
commit b0fbccdf10

View File

@@ -1477,14 +1477,14 @@ inline bool meta_any::assign(meta_any &&other) {
return node.type();
}
[[nodiscard]] inline meta_type meta_func::ret() const noexcept {
return node.ret();
}
[[nodiscard]] inline meta_type meta_data::arg(const size_type index) const noexcept {
return index < arity() ? node.arg(index) : meta_type{};
}
[[nodiscard]] inline meta_type meta_func::ret() const noexcept {
return node.ret();
}
[[nodiscard]] inline meta_type meta_func::arg(const size_type index) const noexcept {
return index < arity() ? node.arg(index) : meta_type{};
}