« first day (1244 days earlier)      last day (3697 days later) » 

Xeo
11:00 PM
Oh, I just thought of another reason why the pizza isn't coming
 
@Xeo You didn't order it?
 
Xeo
the street where I live is currently, thanks to roadwork, a one-way road
 
@R.MartinhoFernandes hey! I'm wanting the Monty Python song!
 
Xeo
(for no reason whatsoever, btw, you could use 9/10th of the street without problem if it wasn't blocked off)
 
I can totally see that happening to me. Think about ordering pizza, get distracted by bird flying out the window, assume pizza was ordered.
 
Xeo
11:01 PM
Mail confirmation proves my memory correct, though
 
@R.MartinhoFernandes from the 5th to 10th of June, your days will be dominated by (my need for) good food.
 
I thought you were going to cook for me!
 
o_0
 
Did you forget :?
It was your idea. :.
 
for once no, my memory did not fail.
But I don't see what I said to lead you think I was not cooking a frenchie for you.
 
11:04 PM
I can forward declare std::hash right?
 
Also someone what surprised you seem to think that one meal will last the five days
 
Btw, have you tried it yet?
 
if I'm specialising it
 
@thecoshman lol
 
@R.MartinhoFernandes noo. You're probably going to be my test victim :P
 
11:05 PM
some of the locations for the standard stuff are fucking weird
 
oh well what?
 
I don't get why std::hash and std::reference_wrapper are in functional.
they're not functional at all
 
std::hash is a function!
std::reference_wrapper is there because it came along with std::bind, I think.
 
Xeo
@Rapptz yes they are
both offer operator() :P
@R.MartinhoFernandes std::ref is also a cheap INVOKE
 
11:06 PM
@sehe what?
 
@Xeo :v
 
@thecoshman And you'll get to try my much fabled cookies!
 
@R.MartinhoFernandes o_0 what is that?
 
0
A: comparing character always returns true

FredOverflow Waiter, there's an if in my loop! Assuming statement is a std::string, you can get rid of both: auto pos = statement.find_first_of(";()"); bool hasParenthesis = (pos != std::string::npos) && (statement[pos] != ';');

Some member functions of std::string are actually useful!
 
@thecoshman Not a cookie whistles.
It was cookie dough at some point.
 
11:10 PM
@Mysticial I like Kerrek's answer :-D
4
A: C++ Pointer Errors - More than 34?

Kerrek SBPointers sharp are very null. Construct dynamic much object, decltype shift. Disk seek on Monday is segmentation fail. Functions. Arrays. Struct programming! He comes.

 
Today is repost day, right?
 
@JBL "you're the one to repeat" - I didn't say you invented the myth. However you contribute to perpetuating folk lore :)
lol
 
@FredOverflow I'm a fun sponge
 
Why is the comment not oneboxing
 
@sehe Question is gone.
 
11:12 PM
Ah, sudden deletion
 
@Rapptz Line 256: union storage_t { unsigned char dummy_; T value_; ... } Line 289: struct optional_base { bool init_; storage_t<T> storage_; ... } How is that not "a T and a bool"? I completely agree the implementation is very tricky and nontrivial, but conceptually and concretely the type is a T and a bool. "The naive T and bool approach would fail pretty quickly." How can you make this statement when looking at the code? — Timothy Shields 16 mins ago
meh
 
"A T and a bool" is 2*T. Optional is 1+T.
I guess they're the same when T=1, but then you're left with just 2, i.e. a bool.
 
Xeo
well, it's implemented as 2*T-like, though
 
I was saying it isn't storing template<typename T> struct optional { T value; bool initialised; };
but I think he misunderstood me
 
@Xeo But the T-like isn't a T!
 
11:17 PM
std::array<uint8_t, 100> and a bool is not 200 though :)
 
T-like is obviously (1+T)/2.
Hmm, what's division?
Dammit.
 
@R.MartinhoFernandes what distracted you?
 
Xeo
lol
@StackedCrooked in terms of values, yes it is :)
 
(1+T)*2^-1!
Wait, what's unary minus.
Dammit!
 
Xeo
XD
oh boy
I haven't used that one in... forever
type algebra is incomplete
 
11:19 PM
Er, no?
 
Xeo
as in, missing division and minus :p
 
It has minus.
 
Xeo
it does?
 
It's a restriction.
 
Xeo
then unary minus is 0-1, no?
 
11:20 PM
But unary minus is a restriction on the void type, and that doesn't make sense.
 
Xeo
heh, true
 
@thecoshman Don't remember. Probably got distracted talking with some flatmate.
 
> std::list<Team>::iterator Listitem;
std::list<Team>::iterator* Listitemtest = &Listitem;
 
wat
 
there's a time in every programmer where everything must be a pointer
 
11:23 PM
@Jefffrey great test
 
A pointer to an iterator...
 
brillant
pointerator
 
iterator_ptr
 
Xeo
whee, Subway delivered, so I have something to eat now at least
 
11:24 PM
Someone make a proposal!
Oh, right, I was going out.
 
at this time?
 
I propose a toast.
 
I had this first, but what if i have to add a player? then the pointers will be point to the wrong adress when it is a vector<Player*>. And working withouth pointers seems not a good idea to me here. — jimbo999 42 secs ago
 
@R.MartinhoFernandes but cookies?
 
last statement
 
@thecosh oh don't worry, I have since succeeded.
 
Yep, repost day.
 
It's always repost day in the lounge.
 
fuck
I thought I was the first
 
11:32 PM
@Jefffrey Scott's blog is part of the Feeds.
 
@R.MartinhoFernandes sure...
 
oh, good to know
 
@thecosh I'm serious! If I leave the things around, my flatmates will eat them all, so I suppose they are good.
 
@R.MartinhoFernandes or they have low standards. note, I'm only saying that to point out the possible alternatives, honest.
 
> The addition of the destructor has the side effect of disabling generation of the move functions
Hmmm, why?
 
11:36 PM
that rule of zero thing is about using default generated things, which is not done if any of them are defined
that's just the rules vOv
 
@thecoshman so if you define the destructor you can't copy the object no more?
 
@Jefffrey Because custom destructors usually don't mix well with the default copy/move ctors?
That's the whole idea behind the rule of three.
 
@R.MartinhoFernandes that's not what he means
 
In C++03, the copy ctors are generated anyway, but they didn't make the same mistake with moves.
 
@Jefffrey not using defaults, no.
 
11:40 PM
@Jefffrey He means that if you provide a destructor, you get no moves unless you provide them as well.
 
got it
 
Ideally the same would be true for copies, but for now they just made the old behaviour deprecated.
 
@thecoshman you can stop doing that
 
@EtiennedeMartel Even Feeds's was a repost.
 
@R.MartinhoFernandes Yeah, but Feeds can't know that.
 
11:45 PM
Some people here can draw faster than Feeds.
 
@sehe sure I could
any way, night chaps
 
someone made us a seal of approval
 
@Rapptz So sexy.
@Rapptz Hm, who made our current logo?
 
11:53 PM
Jefffrey
 
@Jefffrey Make us a seal of approval.
 
@EtiennedeMartel Why? I like the current one :P
 

« first day (1244 days earlier)      last day (3697 days later) »