Skip to content

Conversation

@tobiasgrosser
Copy link
Member

@tobiasgrosser tobiasgrosser commented Aug 6, 2017

Here an idea how #14 could be addressed.

Not sure what to do with constructors that do not take any other arguments. How should the be distinguished from a default constructor that constructs an empty object. This currently happens only with isl_ast_build.

@tobiasgrosser
Copy link
Member Author

tobiasgrosser commented Aug 6, 2017

Here how the bindings would look like:

void test_default_ctx() {
	isl::set S1("{ [1] } ");
	isl::set S2("{ [2] } ");

	isl::set S12("{ [1] ; [2] } ");

	assert(S1.unite(S2).is_equal(S12));
}

@tobiasgrosser tobiasgrosser changed the title Construct bindings that take a default context cpp: construct bindings that take a default context Aug 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant