xo-expression: + explicit_symbol_def feature in PrimitiveInterface

This commit is contained in:
Roland Conybeare 2024-06-19 18:14:02 -04:00
commit 37b2bc85a4
3 changed files with 39 additions and 7 deletions

View file

@ -17,7 +17,9 @@ main() {
}
{
auto expr = make_primitive("sqrt", &::sqrt);
auto expr = make_primitive("sqrt",
&::sqrt,
false /*!explicit_symbol_def*/);
auto expr_td = expr->value_td();