Use initializer lists to construct container<>, lst.
authorRichard Kreckel <kreckel@ginac.de>
Thu, 26 Nov 2015 20:36:46 +0000 (21:36 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 26 Nov 2015 20:36:46 +0000 (21:36 +0100)
commit8f283de519668b70b2e675a7055c7f1bf7ba197c
tree932b1c863eb0f0abd32ba803dc1fe43e4cc227dd
parent019faaa693e82ccccadacb185ddd999437409ba2
Use initializer lists to construct container<>, lst.

Add constructor of initializer_list<ex> to container<C<ex>>. In
particular, this means that we can finally declare lst objects as
lst{a,2*b,2}. Convert GiNaC to this syntax throughout. Deprecate
the old constructors taking 1..16 ex parameters and the ones from
comma seaparated lists (without braces).
30 files changed:
check/exam_archive.cpp
check/exam_clifford.cpp
check/exam_color.cpp
check/exam_differentiation.cpp
check/exam_factor.cpp
check/exam_indexed.cpp
check/exam_inifcns_nstdsums.cpp
check/exam_matrices.cpp
check/exam_misc.cpp
check/exam_numeric.cpp
check/exam_powerlaws.cpp
check/time_lw_M1.cpp
check/time_lw_N.cpp
check/time_toeplitz.cpp
doc/examples/compile2.cpp
doc/tutorial/ginac.texi
ginac/clifford.cpp
ginac/compiler.h
ginac/container.h
ginac/ex.cpp
ginac/excompiler.cpp
ginac/expairseq.cpp
ginac/factor.cpp
ginac/function.cppy
ginac/indexed.cpp
ginac/inifcns.cpp
ginac/inifcns_nstdsums.cpp
ginac/ncmul.cpp
ginac/normal.cpp
ginsh/ginsh_parser.ypp