Skip to content
Snippets Groups Projects

Improve versatility and robustness of `cpptype`, and document it in the user guide

Merged Frederik Hennig requested to merge fhennig/cpptypes into master
All threads resolved!
Viewing commit 3d2dfa9d
Prev
Show latest version
1 file
+ 1
1
Preferences
Compare changes
@@ -117,4 +117,4 @@ def test_cppclass():
assert unbound.get_dtype() == MyClass.template(T="bogus")
ctor_expr = unbound.ctor(AugExpr(PsCustomType("bogus")).var("foo"))
assert str(ctor_expr) == r"mynamespace::MyClass< bogus >{foo}"
assert str(ctor_expr).strip() == r"mynamespace::MyClass< bogus >{foo}"