« first day (870 days earlier)      last day (4303 days later) » 

Xeo
Xeo
17:00
Awesome, got my task done at 6pm sharp.
Damn you, guys, I feel sorry for people you mock.
Xeo
Xeo
Time to go home~
Is it wrong to leave early off my job every day, given that I change job on next friday ?
@ereOn dooo eeett
I have almost nothing to do and the little I have is boring.
17:01
@ereOn What if they fire you?
@R.MartinhoFernandes: They can't fire me for leaving at 6 PM.
The official working hours are from 9 AM to 6 PM
Its just that nobody ever leaves that early
> deleted by NikiC, cHao, R. Martinho Fernandes 2 mins ago
And only after the badge is awarded of course
Hmm.
That was a coincidence.
Xeo
Xeo
@BoltClock Which badge?
Reversal requires +20
I have enough Nice Answer badges as it is.
17:03
@Xeo Nice Answer
I think you should share the badge with us.
Xeo
Xeo
Oh, that.
Meh
Anyways, home~
@R.MartinhoFernandes Damn... 158 of them...
73 but I don't play the game
17:04
I have 96... :(
user784668
@CatPlusPlus you lost
There are still two or three badges I want to get, and then it's all dupes.
user784668
And I lost too.
I probably have one of the worst Nice Answer/rep ratios.
@Mysticial Your answers are bad and you should feel bad. <3 :P
17:06
@DomagojPandža Yeah I know...
Stop making me feel bad. :(
I want Generalist, and then tag badges.
Gold .
Diamond
3
I love ponies.
I want my friggin gold .
@CatPlusPlus ... says hi-
@Mysticial haha, you need to spam answers like mad.
17:09
@R.MartinhoFernandes Yeah... and I don't even have the silver yet... :(
iPad doing it right ^
Well, Cat, you've got a new follower.
Hmm, is that an OpenType font, or some proprietary Apple crap?
@R.MartinhoFernandes How should I know or care, for that matter? It works, and works well.
@DomagojPandža ?
17:14
Twitter crap.
@BartekBanachewicz I don't care if you care. I only care if you know, because I care, and if you know you can tell me :P
But it appears colored glyphs is an Apple extension to OpenType that they are proposing for standardisation.
See I didn't get email for this
@R.MartinhoFernandes hot or not?
they are vectorized, right?
17:21
The colors? No.
It's a pair of bitmaps (one large, one small)
then fuck it
There's also a proposal for SVG glyphs.
...Now you have my attention
17:24
Yay making fonts even harder to render
@CatPlusPlus it's only an option, right?
Xeo
Xeo
Yay, home~
https://bitbucket.org/Borgleader/e3lang/src/d7f96477ef3af5260765f7c8762e076297cf7501/Parser/Symbols.h?at=default
Why did I have to add an anonymous namespace here to avoid link errors? (multiple definition)
and I'm all for unicode instead of small images
just look how crappy the pencil and arrow look on my screenshot
@Borgleader Because you have multiple definitions?
17:25
@Borgleader Because you defined those variables in every TU that included the header?
Yeas but why does the anonymous namespace make the errors go away?
@Borgleader It makes the definitions local to the TU. You probably don't want that in a header.
Oh... Any other way I could go about this?
0
Q: Can I use C++ with UDK?

smallBCan I use C++ with UDK? I know they mention unrealscript on their page but I've also heard that C++ can be used instead, is that so?

Xeo
Xeo
Btw Robot, you ignoring David's comment? :P
17:28
@Xeo Where?
It's back?
Xeo
Xeo
@R.MartinhoFernandes The lion's question.
lol @Mysticial, vote-to-close as a dupe of a deleted question
@R.MartinhoFernandes Maybe I could make them extern in the .h and define them in a .cpp?
@Xeo Oh. I think he's going too off-topic for me to take the time to reply.
> Question #15206681 doesn't exist.
17:30
I'm still at work.
Xeo
Xeo
Oh wait, you didn't actually vote-to-close.
@Borgleader Or constexpr.
Xeo
Xeo
I wonder why we don't have inline T foo;
:D
constexpr not supported by MSVC
@Xeo It's funny, I've had several users ask me "how did you post that duplicate comment without instantly closing the question?" and I'm like "I typed that manually"
17:32
@Pubby "I asked once this question, and people closed it as "Not real question". So I rewarded it to show, that indeed, that is real question and the answer to it isn't obvious at all." Whoosh!
> A circus clown is no fool that can be placed on the same level as Berlusconi.
Xeo
Xeo
@elmes: "An array of stuff" and "a list to initialize stuff with" are fundamentally different concepts. I see no reason why the two should share the same type. Also, wrt "any the user declares as argument type!" - if you have int x{5};, there is no std::initializer_list ever involved. Same goes for your types if they happen to have a matching constructor for what's written inside the braces. — Xeo 11 secs ago
I have a feeling the OP doesn't want to accept it.
@R.MartinhoFernandes LOL!
Xeo
Xeo
Also, wtf is with people upvoting this?
@Xeo Of course not. I knew it the moment I saw the question.
OP will only accept an answer that validates his preconceptions.
Xeo
Xeo
17:41
> However a non-empty initializer_list cannot be constructed by the user so it obviously cannot allocate memory.
gaaaaaah
@Xeo I don't even know what he's on about.
@Xeo wait, I was certain that if you copied an initializer list that the elements were not copied...
Xeo
Xeo
@MooingDuck I was under the impression that he meant the arguments to the initializer list itself, but maybe not...
wait, initializer_list doens't have a copy constructor? Makes sense.
@R.MartinhoFernandes That makes everybody all even -- since he obviously has no clue what he's on about either.
17:46
@MooingDuck Yes, it does. initializer_list is meant to be passed by value.
(It's the implicitly generated one)
@R.MartinhoFernandes spec doesn't give it an explicit copy constructor, my bad.
Xeo
Xeo
It's just pointer+size or pointer+pointer in the implementation anyways.
§ 18.9/2 "Copying an initializer list does not copy the underlying elements."
@Xeo What I would call "a native range".
I like that term.
@Xeo people are getting confused by this comment
Xeo
Xeo
17:48
@MooingDuck Yeah, I should've said "arguments" there.
I invited him to join us here anyways, so let's see.
0
Q: c++ how to define a function without knowing the exact parameters

WhatABeautifulWorldI have a template function template <class T> void foo() { // Within this function I need to create a new T // with some parameters. Now the problem is I don't // know the number of parameters needed for T (could be // 2 or 3 or 4) auto p = new T(...); } How do I solve this? So...

Free rep ^
@Xeo Go get it ;-)
hmm, what if they had just said that initializer_list is a "const T(*)[N]"? Almost the same mechanics and everything.
Xeo
Xeo
@AndyProwl I'm capped already, although the upvotes would be nice...
Well that's interesting... itunes sharing somehow causes remote desktop to freeze...
wtf...
@Mysticial apple
17:50
exactly...
@MooingDuck Bad for overloading.
And only on Windows 8.
Distinct types +1.
Also, u8"fuck you"
@Xeo It's good for the badge
@R.MartinhoFernandes who else is going to overload on that? But makes sense in a theoretical sense.
Xeo
Xeo
17:51
@Tony better show how exactly to construct T from the arguments.
@R.MartinhoFernandes yeah, I see.
Xeo
Xeo
@MooingDuck Constructors. And if you have a T (*)[N] ctor already, you're fucked.
@Xeo I'm trying, but I fail
how do I give git my authorization credentials?
@Xeo have you ever seen one?
Xeo
Xeo
17:52
@TonyTheLion T(args...)? :p
@DeadMG You mean SSH keys?
yes
Just put them in ~/.ssh, I guess.
lol, I don't have a single answer in ...
That's what I do.
Xeo
Xeo
17:53
@TonyTheLion Also, maybe put a link on unique_ptr etc in there.
@Xeo does that mean you can only pass the args from a variadic template on to some other function, what if I wanted to use these args... in the function itself?
Then you add the public key on GitHub.
Xeo
Xeo
Oh, yeah, also what the comment says.
@Xeo from cppreference?
Xeo
Xeo
@TonyTheLion You need a context to expand the arguments in.
17:54
hmm
is what I Was looking for
@Mysticial you should learn C++
@R.MartinhoFernandes No no, this is not the case :) I believe it is possible to answer a simple question: "why ilist and not a new meaning of (for instance) T...". Unfortunately most comments written dont answer the 'why' part, but rather compare ilist to std::array etc. I really appreciate the conversation, though!
@MooingDuck yeah, I probably should...
Xeo
Xeo
17:54
176
Q: What is a smart pointer and when should I use one?

Alex ReynoldsWhat is a smart pointer and when should I use one?

@ScottW harhar, good one.
Ell
Ell
Hi guise
@elmes Distinct types are better for overloading.
0
A: Difference between wait() and sleep()

user2100010We may also confused with Thread.sleep() and Thread t = new Thread(r)... t.sleep(). Thread.sleep causes the current thread to sleep for certain time. Remember sleep is a static method in Thread Class. if we create an object of Thread (t) and if we call t.sleep() it will be called statically. ie...

^^ Does that even answer the question?
Xeo
Xeo
> void foo(const T& t) {
@Tony ~
17:56
@elmes oh, hey
@Mysticial No. Completely unrelated.
Xeo
Xeo
void foo(Args&&... args) and in the body T(std::forward<Args>(args)...) :P
> Do you have an id? i need ur help in iphone..
@MooingDuck hi indeed
@elmes yeah, I tried to debate your side here, but he got me with the overloading bit :/
17:57
@Xeo I'm not sure I understand... so if I do T(Args...) then inside T I get access to the individual args?
@Xeo what?
Xeo
Xeo
@TonyTheLion if you call foo<X>(a, b, c), then T(args...) will expand to X(a, b, c).
@TonyTheLion you can forward them to another function as a pack, or call a function once on each of them, and that's it. You can't pull one out by itself.
Xeo
Xeo
You can't just expand a pack anywhere.
and also if you call foo<X>(a, b, c), then T(args)... will expand to X(a),X(b),X(c).
17:59
Did chat just die for a moment there?
@DomagojPandža you experience lag?
but what if Args... has more in the pack then f(a, b, c) has args?

« first day (870 days earlier)      last day (4303 days later) »