xo-expression: + explicit_symbol_def feature in PrimitiveInterface
This commit is contained in:
parent
5c4b062cf8
commit
37b2bc85a4
3 changed files with 39 additions and 7 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue