« first day (3506 days earlier)      last day (1442 days later) » 

1:22 AM
@CaptainGiraffe All people are targets of my twisted sense of humor, regardless of height.
 
1:34 AM
Q: What do you call a group of software engineers?
A: A merge conflict
 
Warning: low level hacker detected!
 
2:23 AM
A whole clan of Kangaroos on the land that I partially own. They are so timid, there is one me vs a whole bunch of them & they chose to hop away.
Also a herbalist family friend told us that there are some carnivorous plant on our land.
The plant is small, but they lure and devour insects.
Drosera, commonly known as the sundews, is one of the largest genera of carnivorous plants, with at least 194 species. These members of the family Droseraceae lure, capture, and digest insects using stalked mucilaginous glands covering their leaf surfaces. The insects are used to supplement the poor mineral nutrition of the soil in which the plants grow. Various species, which vary greatly in size and form, are native to every continent except Antarctica.Charles Darwin performed much of the early research into Drosera, engaging in a long series of experiments with Drosera rotundifolia which were...
 
 
2 hours later…
4:32 AM
Was there some trick to ensure this doesn't compile: std::function<void(int)> returns_void = [](int a){return 42;}; ? (different return types)...
 
4:52 AM
ideone.com/KXUicV on line 78 i am overloading new but even if i compile out overloaded operators in line 37 it is not causing any compilation errors. Wondering if there is a way to trigger compilation error when overloaded new is not provided when user is overloading new.
 
@Mikhail there shouldn’t be
 
5:27 AM
@nomanpouigt Line 78 isn't overloading anything. It's doing a placement new. So your intent is to make placement new fail unless the allocation function us overloaded? That seems...problematic at best.
 
@JerryCoffin: it seems to solve the problem ideone.com/gzc3ZH
 
5:55 AM
@nomanpouigt Still not at all clear what problem you see and/or are trying to solve, but if you're happy, that's great.
 
@JerryCoffin i have overloaded new and delete operators but sometimes users are not including the right .h which is causing no compilation errors.
I want compilation errors to happend when someone overloads new and delete but doesn't include corresponding .h.
 
@nomanpouigt I see. From your original post, I'd quite thoroughly misunderstood what you were trying to accomplish (but maybe I just didn't read carefully enough).
 
@JerryCoffin sorry for not explaining it properly.
 
@nomanpouigt At least based on your code in your second example, you're concerned with using placement new, not with overloading anything.
 
@JerryCoffin basically with second example user will get compilation errors as here ideone.com/6l7fWm
 
6:11 AM
@nomanpouigt Yes. My point was about terminology. What you're dealing with is use of placement new, not an operator overload.
 
6:24 AM
@JerryCoffin agreed, will ask this question in stack overflow probably to get some better options.
 
6:41 AM
@Mikhail wow, you found it
did not expect it to be a mirror, but it makes sense
 
 
3 hours later…
nwp
10:03 AM
@Mikhail I wanted to suggest a nodiscard lambda, but it doesn't actually work.
 
 
12 hours later…
10:22 PM
 
 
1 hour later…
11:50 PM
@JerryCoffin Can I hide behind you?
 

« first day (3506 days earlier)      last day (1442 days later) »