Timeline for Elegantly exclude part of an operation for the last iteration in a loop [closed]
Current License: CC BY-SA 4.0
31 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 8, 2018 at 12:21 | comment | added | Sᴀᴍ Onᴇᴌᴀ♦ | It wasn’t me who favorited it but sometimes I do that so I can tell if it has been updated whenever I go to my list of favorites - read more about that in this meta SE answer | |
Nov 7, 2018 at 0:16 | comment | added | Indiana Kernick | Seriously, someone favourited this question? Really? Was that a mistake? | |
Nov 6, 2018 at 23:31 | comment | added | Simon Forsberg | It seems like I was wrong about this question being free from problems. As such I have therefore closed it again. | |
Nov 6, 2018 at 23:30 | history | closed |
Indiana Kernick 200_success Simon Forsberg |
Not suitable for this site | |
Nov 6, 2018 at 22:05 | answer | added | rossum | timeline score: 0 | |
Nov 6, 2018 at 21:44 | answer | added | Loki Astari | timeline score: 2 | |
Nov 6, 2018 at 21:42 | comment | added | Loki Astari | Use an Infix iterator. stackoverflow.com/q/3496982/14065 | |
Nov 6, 2018 at 21:25 | review | Close votes | |||
Nov 6, 2018 at 23:35 | |||||
Nov 6, 2018 at 21:04 | history | edited | Indiana Kernick | CC BY-SA 4.0 |
added 422 characters in body; edited tags; edited title; added 1 character in body
|
Nov 6, 2018 at 18:31 | comment | added | Simon Forsberg | @KonradRudolph My gut feeling says that this would not be a good question for Software Engineering. | |
Nov 6, 2018 at 18:06 | comment | added | Snowhawk |
@TobySpeight Despite being around forever as a proposal, ostream_joiner is part of the Library Fundamentals TS v2 and won't be in the standard until c++20. I've made this mistake too.
|
|
Nov 6, 2018 at 17:21 | history | edited | 200_success | CC BY-SA 4.0 |
edited tags; edited title
|
Nov 6, 2018 at 16:55 | comment | added | Simon Forsberg | Personally I see nothing wrong with this question and I have reopened it (after it having previously gotten some reopen votes) | |
Nov 6, 2018 at 16:55 | history | reopened |
Konrad Rudolph alecxe Simon Forsberg |
||
Nov 6, 2018 at 14:10 | review | Reopen votes | |||
Nov 6, 2018 at 17:00 | |||||
Nov 6, 2018 at 13:51 | comment | added | Konrad Rudolph | @Kerndog73 I’m honestly confused by the rules as well. This question might be better suited for softwareengineering.stackexchange.com (what a mouthful, that URL). But I’m not absolutely sure it is, and I believe there should be a room for such a question somewhere. | |
Nov 6, 2018 at 13:45 | history | closed |
Toby Speight t3chb0t πάντα ῥεῖ Edward hjpotter92 |
Not suitable for this site | |
Nov 6, 2018 at 12:42 | comment | added | Indiana Kernick | @TobySpeight It's OK. I'm sorry for saying that. The problem is that I was looking for advice about a pattern that is repeated multiple times in different contexts. That's why I wrote code to print a vector. This question is off-topic. | |
Nov 6, 2018 at 12:32 | comment | added | Toby Speight |
@Kerndog73, if you're talking about me, I'm not intending to be hostile, and apologies if you perceive things that way. I think you may well be able to salvage an on-topic question from this, and there's some very worthwhile observations I'd be able to make if I could see an actual context. It really helps to have compilable code - it's worth writing a small main() to exercise a function you've made for your project, for example, and you should definitely include the headers and/or definitions you use. I want this to be a good, on-topic question, and it's frustrating that it's not (yet).
|
|
Nov 6, 2018 at 11:42 | comment | added | Indiana Kernick | Damn, this place is hostile | |
Nov 6, 2018 at 11:42 | vote | accept | Indiana Kernick | ||
Nov 6, 2018 at 11:39 | comment | added | Calak | For info, here are LLMV and GCC implementations. They do almost the same. And the paper. | |
Nov 6, 2018 at 11:35 | comment | added | Toby Speight | So this is not the actual code you have written or are maintaining? Clearly off-topic, I'm afraid. | |
Nov 6, 2018 at 11:30 | comment | added | Indiana Kernick | @TobySpeight read the last sentence of my question. What I'm actually doing is not related to streams. | |
Nov 6, 2018 at 11:30 | review | Close votes | |||
Nov 6, 2018 at 13:50 | |||||
Nov 6, 2018 at 11:27 | comment | added | Toby Speight |
You're implementing an ostream_joiner - is this reinventing-the-wheel, or do you need something for straight C++17 without std::experimental ?
|
|
Nov 6, 2018 at 10:04 | answer | added | Calak | timeline score: 1 | |
Nov 6, 2018 at 9:48 | answer | added | Konrad Rudolph | timeline score: 5 | |
Nov 6, 2018 at 9:31 | answer | added | Snowhawk | timeline score: 15 | |
Nov 6, 2018 at 8:47 | answer | added | papagaga | timeline score: 5 | |
Nov 6, 2018 at 7:15 | history | asked | Indiana Kernick | CC BY-SA 4.0 |