- OT: An armed society is a polite society - 4 Updates
- std::map Object wirthin std::map? - 1 Update
- Why does this work (stack vs heap allocation)? - 1 Update
bitrex <bitrex@de.lete.earthlink.net>: Aug 11 03:19AM -0400 https://youtu.be/v93tqrqHc0Y Lol, no of course it isn't. A society with free access to firearms is one where everyone is getting lit up and shot in the face over every fender-bender, argument, and domestic dispute. What I think pro-gun rights Republicans would really desire is that they themselves have all the weapons, and nobody else did, i.e. high levels of self-serving narcissism. Unfortunately, the Constitution makes no provision for personality disorders, so guns for everybody is the best that can be hoped for. Sucks. |
bitrex <bitrex@de.lete.earthlink.net>: Aug 11 03:22AM -0400 On 08/11/2016 03:19 AM, bitrex wrote: > of self-serving narcissism. Unfortunately, the Constitution makes no > provision for personality disorders, so guns for everybody is the best > that can be hoped for. Sucks. The NRA's ideal firearms license test: White? Y[ ] N[ ] |
David Brown <david.brown@hesbynett.no>: Aug 11 10:26AM +0200 On 11/08/16 09:19, bitrex wrote: <snip provincial politics> Did you post this to the wrong group? c.l.c++ avoids politics. But such subjects are the norm in entertainment groups like sci.electronics.design (I know you post there, because I read it too sometimes - for entertainment). |
legalize+jeeves@mail.xmission.com (Richard): Aug 11 06:59PM [Please do not mail me a copy of your followup] Another idiot joins my KILL file. You already know what you're doing is wrong by adding "OT:" to the subject line. Whatever point you're trying to make is nullified by being a jerk. -- "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline> The Computer Graphics Museum <http://computergraphicsmuseum.org> The Terminals Wiki <http://terminals.classiccmp.org> Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com> |
Juha Nieminen <nospam@thanks.invalid>: Aug 11 05:15PM > situations where those become invalidated are quite limited. > The map to what the iterator is is also owned by object of 'DBE_Info' > so I do not see harm of keeping some "bookmark" iterator to it. There are some valid situations where you might want to keep an iterator as a member variable (which will point to a member container), but in that case you need to either disable the copy constructor and assignment operator, or implement them properly (to, at the very least, make the destination iterator point to the end of the destination data container). If the iterator is never used outside of a single member function call, I don't really see a reason to keep it as a member variable. Keeping it as variable only increases the likelihood of future mistakes, even if the code is completely problem-free at this moment. --- news://freenews.netfront.net/ - complaints: news@netfront.net --- |
"Erdoeban Zsukloff zu Brecher Zhuang" <no@contact.com>: Aug 01 08:57AM -0400 "Richard Damon" wrote in message news:IBynz.64968$Cu5.42135@fx36.iad... On 7/31/16 9:40 PM, Erdoeban Zsukloff zu Brecher Zhuang wrote: > Thank you in advance ! > Because you are returning the vector by value, so it is copied. The > problem is when you return a pointer to an auto value. You're absolutely right - changed function to return pointer and lo %g++ var.cc -o var var.cc: In function 'VS_or_pc* build_vec()': var.cc:14:11: warning: address of local variable 'result' returned [-Wreturn-local-addr] VS_or_pc result; ^~~~~~ %./var.exe zsh: segmentation fault (core dumped) ./var.exe Thank you. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus --- news://freenews.netfront.net/ - complaints: news@netfront.net --- |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment