First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Is there any standard/guarantees for exception safety in STL operations?
In article <i2hr8t$av9$2(a)speranza.aioe.org>, Dragan Milenkovic <dragan(a)plusplus.rs> wrote: That misses the critical point. The library does not specify enough behaviour in most exceptional cases, which means that it is impossible to write portable or reliable recovery code. As I posted, it could ... 26 Jul 2010 13:49
Is there any standard/guarantees for exception safety in STL operations?
On 07/25/2010 04:26 PM, nmm1(a)cam.ac.uk wrote: In article<i2dkhc$idh$1(a)speranza.aioe.org>, Dragan Milenkovic<dragan(a)plusplus.rs> wrote: On 07/23/2010 01:59 AM, Thomas Richter wrote: [snip] Sure, but maybe I need a different recovery strategy. And then I have little means of implementing one. That's... 26 Jul 2010 10:30
[ANN] ACCU 2011 Conference Call for Proposals
Call for Proposals - ACCU 2011 April 13-16, 2011. Barcelo Oxford Hotel, Oxford, UK Submission deadline: 26th of September 2010 Email proposals to: Giovanni Asproni, conference(a)accu.org http://www.accu.org/conference twitter: @accu2011 #accu2011 We invite you to propose a session for this leading software devel... 26 Jul 2010 09:24
Is there any standard/guarantees for exception safety in STL operations?
On 07/23/2010 01:55 AM, Thomas Richter wrote: Mathias Gaunard wrote: Then the only reason the container can throw is because it is out of memory, which doesn't work reliably on modern operating systems anyway due to memory overcommit. IOW, I cannot use the STL in embedded applications? Or memory... 27 Jul 2010 10:35
Isn't this a conversion bug in gcc?
Hi, Consider this template. template<typename T> struct Q { virtual Q* fnc() { return new T; } }; If I now declare a variable like this Q<int> qi; I get the following from gcc 4.5.0. "error: cannot convert 'int*' to Q<int>*' in return". That seems perfectly correct. But now try this struct... 30 Jul 2010 16:20
Is there any standard/guarantees for exception safety in STL operations?
In article <35c20875-6842-4b5c-9386-9499c3858d3b(a)f6g2000yqa.googlegroups.com>, Howard Hinnant <howard.hinnant(a)gmail.com> wrote: On Jul 24, 9:59 am, Dragan Milenkovic <dra...(a)plusplus.rs> wrote: Also, you may describe the concrete problem that bothers you and someone will most likely provide the most c... 25 Jul 2010 19:26
problem with partial ordering of classes
Hi, I'm having some problems with the following code, gcc-4.5 refuses to compile it: #include <iostream> template <bool B, class V=void> struct enable_if {}; template <class V> struct enable_if<true,V> { typedef V type; }; template <class T> struct bar {}; template <class T, int ID, class V=void> struct... 26 Jul 2010 13:49
It would be better if unique_ptr were a type modifier?
It Would be better if unique_ptr were a type modifier? C++ has many type modifiers line mutable, const, volatile. In my code I use very few of mutable and even less of volatile modifier. In the other hand, the concept of unique pointer I use all the time. positive points: - A clear language concept inst... 28 Jul 2010 20:39
Is there any standard/guarantees for exception safety in STL operations?
On 07/23/2010 01:59 AM, Thomas Richter wrote: Bo Persson wrote: [snip] Most of the operations are optimized for the non-throwing case. A lot of them can be written in an exception-neutral way, so that any exceptions thrown will not have to be catch'ed by the library. If you look into the library, th... 25 Jul 2010 09:43
Iterator-like interface to a collection of unrelated types?
Hi, I have a need to provide an iterator-like interface to a collection of unrelated types. The first part of the problem is building this sort of collection -- Boost.Any seems to be a good option, as I can create a std::vector<boost::any> and add int, float or any other type of objects to it. The part that ... 27 Jul 2010 10:35
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15