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 27388  Older »
Description: Technical discussion of the C++ language. (Moderated)
 

A lightweight C++ GUI library welcomes your feedback. 
  Hi, Nana C++ Library provides a GUI programming with Standard C++ style, and also includes C++11 features. I would like to hear your feedback. [link] This library welcomes your suggestions, contributions and bug fixes. Regards! Jinhao -- [ See [link] for info about ]... more »
By Jinhao  - May 18 - 1 new of 1 message    

Vector sizes and other missed optimizations 
  This has been annoying me for a while: ... template<typename T> class Vec { public: Vec(size_t len) : len_(len) { data_ = new T[len]; } ~Vec() { delete data_; } Vec(const Vec &) = delete; void operator = (const Vec &) = delete; size_t size() const { return len_; } T &operator [] (size_t pos) { return data_[pos]; }... more »
By Andy Lutomirski  - May 16 - 11 new of 11 messages    

Yikes! We forgot to encode an iteraction between C++ and C varargs. (va_start doesn't work with pack expansions.) 
  [I can't figure out how to post this both here and comp.std.c++, so I have to multi-post later. Unless a moderator here can do it.] { My experience suggests it's best to avoid cross-posting to moderated groups -mod/we } This is based on a recent Stack Overflow post at: <[link]>. As a commenter to my... more »
By Daryle Walker  - May 16 - 3 new of 3 messages    

Design patterns exercises 
  Hi group, Possibly OT, but comp.software.patterns seems to be just a spam NG and am exclusively interested in c++ at this time, so here goes { Not at all; your question is relevant to the C++ community -mod/we } I wonder if you could recommend some books or some online resources where I would find exercises for each of the specific design patterns.... more »
By z...@mailinator.com  - May 15 - 2 new of 2 messages    

Dereferencing and returning by reference! 
  Consider a small unit test case struct A { virtual void func(){} A& foo() { A *obj = reinterpret_cast<A*>(0xdeadbee f); return *obj; //1 } ... int main() { A obj = obj.foo(); ... At line 1 is it implementation defined/unspecified that the deference would not happen as we are returning by reference and the program... more »
By Prasoon Saurav  - May 14 - 8 new of 8 messages    

sequence of inheritance from virtual base class? 
  I have a problem with the sequence of inheritance: // header1.h class Base { public: Base() {} virtual ~Base() {} virtual void foo() = 0; }; // header2.h #include "header1.h" class Unrelated1 {}; class Unrelated2 {}; class Derived1 : public Base, public Unrelated1, public Unrelated2 {... more »
By Ralf Fassel  - May 14 - 10 new of 10 messages    

Why are in class initializers not allowed? 
  In the C++ Standard - before C++11 - any attempt to initialize a variable inside the body of a class would fail at compilation. I am sure that there is / was a very good reason for this, but can't understand why it is so. I thought that maybe it was a restriction that was imposed due to some... more »
By nvangogh  - May 13 - 3 new of 3 messages    

Immutable data structures - performance && thoughts 
  Hi all, I recently looked over how a C# library could implement an immutable stack, and came up with this implementation in C++. I wonder here mostly about the overhead of std::shared_pointer(and the missing of a garbage collector that probably could help for this kinds of structures) namespace immutable... more »
By Marinca Gheorghe  - May 12 - 3 new of 3 messages    

CCore 1.04 is released 
  Code: [link] Wiki-Brief: [link] Enjoy! -- [ See [link] for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ]
By Sergey Strukov  - May 10 - 1 new of 1 message    

compilers, endianness and padding 
  I've been looking around and am just shocked that there still after so many years, there doesn't seem to be any way of using the optimizer or templating system in any consistent way across compilers to generate a compile time endianness value. Does anyone know why the C++ committee has steered clear of this?... more »
By AdrianH  - May 8 - 45 new of 45 messages    

1 - 10 of 27388   « Newer | Older »

XML