Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
comp . lang . c++ . moderated
This is a Usenet group - learn more
Find or start a Google Group about c++.
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 27166  Older »
Description: Technical discussion of the C++ language. (Moderated)
 

Techniques to avoid minimal scope inefficiency with complex objects in loops in C++? 
  Hello, I'm currently wondering whether there's some way to avoid a certain kind of inefficiency with "clean" code, namely that declaring complex objects with minimal scope, where the scope is a loop, will inevitably lead to unneccessary resource re-allocation. (See example below.) Maybe someone here has another idea in addition to the answers already... more »
By Martin B.  - Jun 4 - 1 new of 1 message    

Will we ever be able to throw from a destructor? 
  Hi, There is always a big discussion about exceptions and when and where they can be thrown. In Exceptional C++ by Herb Sutter, p.55, he states why throwing from destructors is a bad thing. Apparently for a lot of people in the community (including myself) it has been difficult to be convinced that the bad thing with throwing from a destructor is more than just an unsolved technical detail.... more »
By DeMarcus  - Jun 4 - 4 new of 4 messages    

Template instantiation: Why is this method instantiated?‏ 
  (Note: Only the introduction is linux specific.) On Linux there are two functions called strerror_r. One can choose between those function using appropriate preprocessor flags. The problem is that the functions have different return types which is why I tried to wrap the handling code in another C++ function. I wanted to hide the... more »
By John Doe  - Jun 3 - 4 new of 4 messages    

Available C++ Libraries FAQ 
  Available C++ Libraries FAQ URL: [link] This is a searchable list of libraries and utilities (both free and commercial) available to C++ programmers. If you know of a library which is not in the list, why not fill in the form at [link]... more »
By Nikki Locke  - Jun 1 - 1 new of 1 message    

program launcher API for C++? 
  Hello, Does anyone know of a program launching API in C++? I don't mean system() or fork(), I mean something that acts as a service, i.e. is launched by an external launcher that a client program talks to. I have just discovered that according to POSIX, fork and mult- threading are not safe to be used together. On MIPS where I am using... more »
By Agents Marlow  - May 31 - 13 new of 13 messages    

C++11 Books coming? 
  C++11 is out, and even available at an affordable price (though I can read it at work even cheaper). But what I think we all mainly want is compilers that support it and books and similar resources that enable us to use it. I want at least some of the latter before I need the former. While useful as a reference, the standard is not how to learn... more »
By Christopher Dearlove  - May 31 - 6 new of 6 messages    

std::vector: Surprising order of destruction! 
  Hello, I am curious is there any C++ standard rules about destruction of std::vector elements. For arrays it applies “reverse order” rule – order of destruction is reverse to elements construction – and it is in reverse order of indexes. It seems, that, for at least one compiler which I tested, the order of... more »
By PiotrN  - May 31 - 8 new of 8 messages    

ANN: FRUCTOSE 1.2.0 has been released 
  { Reformatted; please limit your lines to 70 characters -mod } This is to announce release 1.2.0 of FRUCTOSE, a C++ unit test framework. It is very cut down compared to CppUnit and is designed for simple command line-driven test harnesses. It is implemented entirely in header files. Try it out at [link].... more »
By marlow.and...@gmail.com  - May 28 - 1 new of 1 message    

fighting with move sematics and std::tuple 
  Hi, i am working on an exercise for move sematics and want to create a 'FunctionTracker', which logs enter/exit message for functions and their input/output variables. It works. But it uses some copying, which i want to shake off (if possible). Here's the FunctionTracker.h source file (i use gcc 4.7.0, ubuntu... more »
By Frank Bergemann  - May 26 - 6 new of 6 messages    

copying boost::exception across threads crashing 
  Below sample code to copy/transfer boost::exception object from 1 thread to another crashes due to a race condition during destruction of exception/exception_ptr internal state. I am not sure what is the best way to resolve it. The boost version used was 1.42 and platform is Ubuntu lucid running... more »
By Harry  - May 26 - 2 new of 2 messages    

1 - 10 of 27166   « Newer | Older »

XML