Allow perfect forwarding of method args (#2048)

This commit is contained in:
Robert Haschke
2020-07-07 15:56:07 +02:00
committed by GitHub
parent 1b0bf352fa
commit f2226aefe0
3 changed files with 9 additions and 4 deletions

View File

@@ -58,8 +58,8 @@ def test_methods_and_attributes():
assert cstats.alive() == 0
assert cstats.values() == ["32"]
assert cstats.default_constructions == 1
assert cstats.copy_constructions == 3
assert cstats.move_constructions >= 1
assert cstats.copy_constructions == 2
assert cstats.move_constructions >= 2
assert cstats.copy_assignments == 0
assert cstats.move_assignments == 0