]> www.ginac.de Git - ginac.git/commit
Omit extra qualification (as in struct foo f() vs foo f()).
authorJan Rheinländer <jrheinlaender@gmx.de>
Sun, 26 Sep 2010 12:23:01 +0000 (12:23 +0000)
committerAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Fri, 26 Nov 2010 22:15:56 +0000 (00:15 +0200)
commit4bce949dac6328bc9fcfcd3f875fd422055745f4
treea6c7befc8a9d2529bb784a9ca93c11db89832f4a
parent01bc98316ce188dfdd7b239933cf2a70f2fd630e
Omit extra qualification (as in struct foo f() vs foo f()).

According to the Standard extra qualification like this

struct foo;
struct foo f();

is valid. However msvc does not accept such a code. So let's omit extra
qualification, as in

struct foo;
foo f();

(it's still valid C++) to make msvc happy.
ginac/polynomial/collect_vargs.cpp