[Bug libstdc++/58815] Casting/Conversion operator for std::decimal not supported
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58815 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|--- |4.9.0 --- Comment #17 from Paolo Carlini --- Done.
[Bug libstdc++/58815] Casting/Conversion operator for std::decimal not supported
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58815 --- Comment #16 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Oct 23 11:48:26 2013 New Revision: 203956 URL: http://gcc.gnu.org/viewcvs?rev=203956&root=gcc&view=rev Log: 2013-10-23 Paolo Carlini PR libstdc++/58815 * include/decimal/decimal (decimal32::operator long long(), decimal64::operator long long(), decimal128::operator long long()): Add in c++11 mode per n3407. * testsuite/decimal/pr58815.cc: New. Added: trunk/libstdc++-v3/testsuite/decimal/pr58815.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/decimal/decimal
[Bug libstdc++/58815] Casting/Conversion operator for std::decimal not supported
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58815 --- Comment #15 from Paolo Carlini --- A maintainer is also needed in order to *categorize* those potential issues and plan the work: for example C++11 (+ C++14), which are the primary standards which we are implementing, don't know about decimal, thus isn't at all clear that we can conformingly add stuff (thus names) to . More generally, at this point, that TR is pretty old, isn't clear that we want to improve the TR code vs freezing it and start work toward providing under some sort of experimental mode, well separate from standard C++14, something close to the recent proposal written by Dietmar. See what I mean? If the issue is just "uncommenting" an operator which essentially was already there and now thanks to explicit operators in C++11 we know how to do right, that we can do right now.
[Bug libstdc++/58815] Casting/Conversion operator for std::decimal not supported
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58815 --- Comment #14 from ulf --- i am happy with the explicit operator in std::decimal for now. however sooner or later there will be another one who puzzels over other issues (traits, limits, and all the functions that dont know std::decimal).