www.digitalmars.com         C & C++   DMDScript  

c++.beta - DMC++ 8.34.10

reply "Walter" <walter digitalmars.com> writes:
More boost fixes.

http://www.digitalmars.com/download/freecompiler.html
May 23 2003
parent reply John Fletcher <J.P.Fletcher aston.ac.uk> writes:
Walter wrote:

 More boost fixes.

 http://www.digitalmars.com/download/freecompiler.html
I have tried out the previous test programs with the new beta. There is no change in the first one at all. There is also no change in the second one, but I have revised the source file to include the template for cons, as noted by Richard Grant. The input and output files are appended. John
May 29 2003
parent Richard Grant <fractal clark.net> writes:
In article <3ED5CB55.45D48A77 aston.ac.uk>, John Fletcher says...

I have tried out the previous test programs with the new beta.  There is
no change in the first one at all.  There is also no change in the
second one, but I have revised the source file to include the template
for cons, as noted by Richard Grant.  The input and output files are
appended.
Ok, dmc does not like the inline keyword after the return type.. it does like the inline keyword before the return type. If you change the code to the following it compiles. /* template<class T1> tuple<typename convert_to_plain_by_default<T1>::type> inline make_tuple(const T1& t1) { return tuple<typename convert_to_plain_by_default<T1>::type> (t1); }; */ template<class T1> inline tuple<typename convert_to_plain_by_default<T1>::type> make_tuple(const T1& t1) { return tuple<typename convert_to_plain_by_default<T1>::type> (t1); }; Richard
May 29 2003