Support constructor with an argument.

This improves the "list" bench by 2%.

	* data/lalr1.cc (variant::build): Add an overloaded version with
	an argument.
	* tests/c++.at (AT_CHECK_VARIANT): Check it.
This commit is contained in:
Akim Demaille
2008-08-08 00:38:07 +02:00
parent 763074102b
commit e5eb92e794
3 changed files with 38 additions and 11 deletions

View File

@@ -1,3 +1,12 @@
2008-11-10 Akim Demaille <demaille@gostai.com>
Support constructor with an argument.
This improves the "list" bench by 2%.
* data/lalr1.cc (variant::build): Add an overloaded version with
an argument.
* tests/c++.at (AT_CHECK_VARIANT): Check it.
2008-11-10 Akim Demaille <demaille@gostai.com>
Test variants.