« first day (479 days earlier)      last day (4467 days later) » 

11:00 AM
You need some kind of variant.
 
@RMartinhoFernandes Thanks for the answer in my topic. I have another questions "Why does it look like not a DHCP packet?" , I have built the struct from RFC, each size of field in byte was checked and also the values of these fields.
 
no
the entire point of doing my own is to avoid such things
 
How do languages lacking goto do LR?
 
Xeo
Well, maybe a strongly-typed parser just isn't gonna work then?
 
@Pubby You don't need goto.
 
11:02 AM
nah
 
@Xeo A strongly-typed parser without variants just isn't gonna work then?
 
@RMartinhoFernandes So then what's DeadMG complaining about?
 
you can do recursive ascent, which is basically the same thing but instead of going to a label, you call a function
it's the same basic problem, though- there's no one type for each function to return
 
Hey, hey, hey everyone. Its your friendly n00b saying good<whatever_the_time_of_the_day_it_is_in_your_part_of_the_world>

... and don't scared I don't have any questions -- yet
 
@RMartinhoFernandes Nah. I'm just going to skip allowing left-recursion.
 
Xeo
11:04 AM
@RMartinhoFernandes "Well, maybe his idea of writing such a parser just isn't gonna work then" :P
 
unless you do a regex-style *(shit) moreshit kind of thing
 
@Pubby He's complaining about the fact that he can't do it without variants.
 
@Olumide Hello friend
 
which I can definitely turn into while(true) { .... }
 
Just wanted to know if you guys think this book is worth buying and reading
http://www.boostpro.com/mplbook/
@Pubby Hi :)
 
sbi
11:05 AM
@Olumide "I don't have any questions..." "Just wanted to know if..." What happened to your logic module?
 
Is that one of those books that's hard to recommend on the off-chance it gets updated any time soon?
 
@RMartinhoFernandes I don't understand. Why do the functions need to return?
 
@Pubby Semantic actions?
 
Can't they just construct the parse tree?
 
how are you going to do that?
 
11:06 AM
@sbi You're stricter than my debugger. Are you my debugger? ;-) I meant any template related questions -- the sort with which I've been torturing everyone here lately.
 
@Olumide It's on the good book list stackoverflow.com/questions/388242/…, but like Luc said, it's bound to get an update sometime in the foreseeable future.
 
if you don't return any values from the function that does the matching of a rule
then how are you going to know what it matched?
 
@DeadMG I don't know, I don't understand why a bottom-up parser would need to return semantic actions.
 
Xeo
Romanian Prime Minister Admits He Has No Idea Why Romania Signed ACTA http://j.mp/zPXmKU
 
@Pubby Even if all they do is construct the parse tree, they would return pieces of it, no?
 
Xeo
11:07 AM
The fuck is up with this broken world...
 
@Pubby It needs to return the result of the semantics actions
 
Oh. In that case, perhaps I should borrow a copy or convince my employer to buy one instead (heh-heh).
 
Yeah, I guess that wouldn't work.
 
@sbi I was hoping to read it after this josuttis.com/tmplbook
 
sbi
@Olumide That book is definitely not an easy read, which I at least partially blame on it not being written to be very entertaining. But it's very hot stuff, that's for sure.
 
11:09 AM
Unless the lookahead could determine the type
 
Xeo
@RMartinhoFernandes I think we'll need to completely overthrow and reconstruct that list in a few years time
 
@Xeo Only when the new books actually come out.
 
@Pubby It can't.
 
Xeo
Not only because of that, but because those books are just out-dated by then and promote old C++ style. :P
 
@Olumide I have that one. I like it, but I've seen some people here complaining about it being a bit hard to understand. I'm not sure if that's due to the way it's written, or to the complexity that is inherent to templates.
 
sbi
11:12 AM
@Olumide I found that a much easier read.
 
Xeo
I should consider getting some programming books, judging from how many books people in here seem to have read
 
sbi
@RMartinhoFernandes I think it's due to the latter. The matter it deals with simply is very complicated. I think it's written reasonably well, though.
 
@Xeo I'm sure you'll like Andrei's Modern C++ Design.
 
@Xeo Wait for the upgrades first!
 
sbi
@Xeo I think some of us told you to do that last year.
 
Xeo
11:14 AM
I think I only ever read 3 books about programming.
 
I read a couple chapters of the DarkBASIC reference manual
does that count?
 
Xeo
Two german ones [C(++) von A bis Z] and Effective C++
 
I've been reading if for about 6 months now and I'm still on page 137. Sometimes I get stuck on a page for weeks. The SFINAE paragraphs took almost 2 months to get past. BTW get past != completely understand.
 
On the other hand those books I read were indeed about 'old' best practices. Since I understood that from the start though I still learned the 'lessons' of whatever the at-the-time best practices solved.
 
11:16 AM
guys, Hi! i am very new to this SO chat( but not in SO) so, not sure if I can get quick knowledge transfer here..especially i cant hold back myself from asking as I see sbi, DeadMG, Xeo, Martinho all are here :)
 
Eeeww! The book is talking about Microsoft Visual C++ 6 and 7 workarounds. How old is that!? ... (In sound like a teenage girl)
 
@Xeo Is that "C++ from A to Z" or something?
 
very
 
Hi all
 
VC++7 is nine years now
VC++6 fourteen
 
Xeo
11:17 AM
@RMartinhoFernandes Yes
 
although if it contains workarounds for them it might not be that old
 
hello all
\
 
Xeo
o/
 
@Olumide People stuck with VS6 for a long time (way too long)
@Stack Hi.
 
like IE6
 
11:18 AM
@Xeo You're a cyclops now?
 
They should be publicly whipped!
 
hi
 
They should "call their headhunter!"
 
Xeo
@RMartinhoFernandes Didn't Herb mention that VC++6 was VS' biggest competitor until some years ago?
@ArunMu: If you have any questions, ask on SO proper or if they're short, ask here
 
@Xeo Exactly.
 
11:22 AM
@ xeo: yes its very short... cont char * var = const_cast<const char *>(getenv("VARIABLE"));
is this a UB, AFAIK it aint
 
Better to not have it at all still.
 
It's only UB if you write and the object was declared const.
But I don't see why use const_cast, since the conversion from char* to char const* is implicit.
(Assuming this is this getenv: linux.die.net/man/3/getenv)
 
getenv returns a char *. ... it worked for me when build as debug lib but not in optimized lib
yes the cast is implicit..but still I had added it :(
 
There's probably something else in the code causing trouble.
 
Xeo
@ArunMu No cast needed if getenv returns char*...
char* p;
char const* cp = p; // implicit conversion
 
11:25 AM
Hmm, the manpage says getenv is in C89 and C99. Wow.
 
If you want to document in the code that you're doing a conversion, use static_cast, not const_cast.
 
sbi
@ArunMu Please read the newbie hints, linked from the right-hand panel.
 
Gotta get back to work. Before my employer asks how many LOC I've written today or something like that.
 
const_cast are here to document 'whoops, let me try and hack this'. Since you have no hack going on here, that's pretty misleading.
 
const_chat, lol
 
11:27 AM
I see my typos are commented on pretty quickly. Quite the dynamic_chat.
2
 
Thanks guys for the help .. just needed another view on it
 
Xeo
Oooh, 71 "not an answer" flags.. yummy
 
@Xeo Still hunting that badge, huh?
 
sbi
#Dear14YrOldSelf Being smarter than most is no long-term substitute for hard work. Sorry.
 
Xeo
Yeah, was on flagging break for a month or so
 
sbi
11:28 AM
@Olumide They count your LoC?!
"Call your headhunter!" (I can see this having become a meme here really fast...)
 
@sbi It is a meme already.
 
quiet you
 
Xeo
@sbi It is already a meme
 
I'm busy sticking my fingers in my ears
 
Xeo
lol robot
 
11:29 AM
@DeadMG What happened?
 
sbi
@RMartinhoFernandes The tweet.
It was a reply to him.
 
Oh, that was a reply to the puppy.
@Xeo Wow, you even emphasised the same word.
 
@RMartinhoFernandes woof woof
 
@sbi That was a joke. But I routinely get asked "how's it going" and it really grinds my gears :-/
 
Q: "How's it going?" A: "It's compiling."
 
11:34 AM
You had it coming ...
Hey wait. Now that I'm doing more templates maybe I can actually say that.
 
We really need a self-referential xkcd about xkcd being relevant and then we'd be done linking to the comic. FOREVER.
 
This guy is pretty cool:
 
First name is Dimitri. This should be the extent of my understanding of Cyrilic.
 
Xeo
Do you think I'm too snarky on that one?
 
11:39 AM
Wait, is it Dmitrii instead?
I notice "Dmitry" on his SO profile. Close enough.
"I'm using a different transliteration than he is."
 
Hah, your understanding of Cyrillic sucks. I think it's Dmitry.
Damn network!
 
Feb 4 at 10:24, by Luc Danton
@RMartinhoFernandes Just claim you're using a different transliteration than whoever is picking a bone with you.
You were several days too late in any case.
 
Xeo
@RMartinhoFernandes Hey, that's my legitimate excuse for being too slow!
 
@Xeo Mine is legitimate as well. I just bite the bullet and don't complain as often as you.
 
@RMartinhoFernandes You claim foreign languages are bogus yet you can decipher Cyrillic?
And why can't I spell 'Cyrillic' even though there's a double-ell even in my native language?
 
sbi
11:41 AM
@Xeo I flagged it.
 
@LucDanton I know the latin alphabet, the entire greek alphabet (both transliteration and pronounciation), and a little of the Cyrillic alphabet. But I don't understand Greek nor any language that uses Cyrillic.
Basically, I know alphabets, not languages.
 
Xeo
I love spam answers. Gets me double the flag count
 
"I love spam answers"?
 
@RMartinhoFernandes Do you know the order of the Greek alphabet, too?
 
Xeo
@RMartinhoFernandes Basically, your dictionary just needs to be filled.
 
11:43 AM
That would amaze me, I only know (probably knew actually) the order from learning ancient Greek in a previous lifetime.
 
@LucDanton Yep!
 
I could see one learning the individual letters as they're convenient for science but the order isn't as useful there.
 
The last five took a while to memorize.
 
Heh, guy is asking for help on a text editor and his code snippet is this:
public class TextEditor
{

}
 
11:46 AM
lol
 
Xeo
lol'd
 
lol
 
Xeo
Combobreaker.
Just because I can.
 
@TonyTheLion You can't be twice on the same chain.
 
11:46 AM
Moo.
 
Xeo
@CatPlusPlus You're not a duck.
 
@Xeo Tony ruined it first.
 
@RMartinhoFernandes did you just invent that rule?
 
@TonyTheLion Yes.
 
11:47 AM
lol
 
lol
 
sbi
@LucDanton I remember the "-ИЙ" suffix as something common in Russian. (Take that with a grain of salt, though. It's a few decades ago that I had Russian lessons, I never liked them, I was in serious need of speaking Russian only once, and that's 15 years ago.) I think we mostly don't transcribe it.
 
damn you @sbi, you broke it
let's start again :P
 
sbi
11:49 AM
Why don't guys simply start a room for your lol orgies?
Restrict attendance and nobody will disturb you.
 
sbi
3 hours ago, by sbi
Variadic templates talk video now available: http://www.reddit.com/r/programming/comments/pe4d8/goingnative_2012_on_demand_andrei_alexandrescu/
Every time I see the title of Andrei's talk I wonder whether Funads are something to rival Monads.
 
Monads are funads.
ARraagh. Once more, automatic removal of @notifications made me look like a teenager that has yet to learn about capitals.
 
sbi
@RMartinhoFernandes It's the kind of semi-intelligence I have learned to hate passionately.
 
Xeo
11:54 AM
Phew, finally done with marathoning my flags away.
 
oh, why did you get flagged?
 
Xeo
No, I flagged.
 
0
Q: Iteration over references?

eudoxosI would like to perform the same operation on several arrays, something like: #include<vector> #include<algorithm> int main(void){ std::vector<double> a, b; for(auto& ab:{a,b}) std::sort(ab.begin(),ab.end()); // error } This code fails, since auto& is a const...

See this? I told you initializer lists suck.
int x; x = x; Is this UB?
I always thought it would leave x with an unspecified value.
 
@Xeo Your explanation in the comment to that linked question is non-sensical as the range-expression in a range-for is never bound to the iteration variable. The elements are.
 
Xeo
12:00 PM
@LucDanton I don't know which comment you're talking about.... ♪~
 
@LucDanton Talking to me?
 
@RMartinhoFernandes I'd say yes, but wouldn't dream of substantiating my answer.
@RMartinhoFernandes Your comment makes total sense.
 
The code in that question is valid, isn't it? Eh, misleading.
 
Xeo
@RMartinhoFernandes Needs a zip
 
12:03 PM
@Xeo I don't think so.
 
Xeo
No?
 
But it could be.
 
Xeo
Ah, right
 
I assumed he's trying to sort the two vectors separately.
 
Yeh, that sorting is problematic.
 
12:03 PM
@LucDanton Ok, can you please start being coherent?
 
I'mma see what happens with std::ref.
 
Xeo
I don't think that works, it'll correctly transfer const IIRC
@RMartinhoFernandes Wouldn't make any sense otherwise. Can't mix and match iterators from different containers
You know, if tuples could be iterated over... for(auto& v : std::tie(a,b))
 
Compiles with std::ref, possibly works. If anyone want to answer.
 
Xeo
Oh yeah, I remembered another reason why I want range-based <algorithm>s, not iterator based ones - the range-bases ones work with tuples (assuming a fitting functor)
 
There could be two things that are being tried here: one is to sort the two vectors independently like in sort(a.begin(), a.end()); sort(b.begin(), b.end());, but there are more than two, so a loop with an initializer list would be sweet. Another is that the vectors are related and you want to keep the relative order of elements (i.e. structure of vectors instead of vector of structures).
 
12:07 PM
@RMartinhoFernandes The OP is asking "This code fails, since auto& is a const-reference. Is there an elegant way around it?" and I wanted to express that his or her reasoning is incorrect, but that doesn't mean the code works.
 
Xeo
@RMartinhoFernandes Still can't mix n match iterators from different containers
 
@Xeo I think you're confusing something.
 
Xeo
@LucDanton It does? I thought it correctly transferes const to the pointee... hm
@RMartinhoFernandes I may just be way too sleepy
Awake for > 24h up till now
 
@Xeo std::reference_wrapper<T> is like having T*, so the const version is like having T* const. By design'd!
I'mma write an answer, unless somebody already is.
 
Xeo
@LucDanton Really? I though that was exactly not the case, that you'd get a T const& from std::cref(v).get();
 
12:09 PM
@LucDanton I'm not.
@Xeo The vectors are not const, so a ref on them is ok.
 
Xeo
Wait, I'm not making sense.
I should really get to sleep.
 
@Xeo std::cref returns std::reference_wrapper<U const>, so it's like having T const*. By design'd!
 
You would have a std::reference_wrapper<T> const& which doesn't prevent you from changing the vectors.
 
Xeo
@RMartinhoFernandes I thought calling get() on a const-qualified ref wrapper would return T const&, but seems I'm wrong.
 
@LucDanton There's already an accepted answer doing the same with pointers, but I want to upvote the one with ref.
 
Xeo
12:15 PM
// access
operator T& () const noexcept;
T& get() const noexcept;
Okay, I retract all I said about std::reference_wrapper :)
 
Xeo
But TIL: std::reference_wrapper has a function call operator.
 
So you can call stuff through it?
 
Yep, it forwards.
 
Xeo
Remark: operator() is described for exposition only. Implementations are not required to provide an
actual reference_wrapper::operator(). Implementations are permitted to support reference_-
wrapper function invocation through multiple overloaded operators or through other means.
 
12:17 PM
@RMartinhoFernandes It doesn't look that good as std::begin(ab) doesn't work, so you need to use ab.get().
Plainly obvious it's a pointer in disguise, and there's nothing wrong with using pointers here.
 
Someone not quite getting the point of UB:
-2
Q: Is there a taxonomy of Undefined Behaviour?

spraffThis is a question about whether we can meaningfully divide Undefined Behaviour into useful categories. Please note this is not about what the standard specifies, but what must happen that it doesn't specify. Exhibit A: int x; // Step 1 x = x; // Step 2 Exhibit B: void run (Foo * foo, int * ...

 
Xeo
@LucDanton If you dismiss auto, you can do for(std::vector<double>& v : {std::ref(a), std::ref(b)}){ std::sort(std::begin(v), std::end(v)); }
I think
> Then, any correct compiler can do whatever she wants on the face of UB.
I didn't know compilers were female!
And that UB has a face.
 
It's pretty obvious they are female.
 
@Xeo Yes, that's fine.
 
And Bo confirms it:
 
Xeo
12:20 PM
@RMartinhoFernandes Always complaining about what you're saying (writing)?
 
> @Spraff - The standard is all that we have to rely on when producing portable code. Just a little UB is more like being slightly pregnant. – Bo Persson 4 mins ago [emphasis mine]
@Xeo That's one reason, yes.
 
That reminds me, didn't the Clang talk mention that they have a -std=Hell++11 mode?
Possible a work in progress though.
 
Yeah, I remember commenting something to that effect.
 
Xeo
Y'know, I don't really like the non-member begin and end ... for the simple fact that they require 4 more characters than the member version. :|
@LucDanton ?
 
@Xeo Not if you're abusing namespace std; :P
Also, for standard containers ADL applies, and that means one less character.
 
12:23 PM
You mean for generic code.
What if arrays D: !!!!! HAHA just kidding.
 
Xeo
@LucDanton std::array are arrays too. :(
@RMartinhoFernandes You're right, I always forget that you can leave the namespace qualification out for stuff from the same namespace.
 
@Xeo std::is_array sez they aren't.
 
@RMartinhoFernandes to be fair, a compiler could choose to provide extra guarantees not required by the standard - it'd just be another non-portable extension
 
@Useless Sure, but then the question would not be about UB: UB is about the guarantees in the standard.
It's perfectly okay to ask about specific compilers if that's what you want.
 
Xeo
Now if SCARY iterators were a requirement in the standard, you could leave out std:: for most (all?) algorithms.
 
12:26 PM
Stupid acronyms.
 
1
Q: Private (hidden) QSharedData

Sebastian KrysmanskiI have a class that has some data members that I want to be hidden from the caller (because including the headers for their types significantly increases the compile time, and it would require every project using this class to add an additional path to their include paths). This class uses QSha...

I was thinking pimpl
but you'd still indirectly include the header
 
hi @all
 
@Xeo Stop whining, bite the bullet and use Boost.Range. All the cool kids are going it!
Oh yeah, and write a cartesian product range.
 
anybody have any idea abt Skype calling API for MVC???
 
Xeo
12:28 PM
@LucDanton But that doesn't save me from typing boost:: :P
 
New to ADL?
 
lol, you sound like an ad.
 
using boost::transform; using boost::stop_whining;
Are YOU looking for a way to further your power of expression? LOOK NO FURTHER!! Switch to Boost.Range and you may see a reduction in verbosity of up to 20% or more!
 
Xeo
I wish the compiler would abide the using boost::stop_whining;
 
I always forget what ADL does and how it works :(
 
12:32 PM
@TonyTheLion Magicks.
 
Here are the secret incantations: want to swap something? Inscribe using std::swap; then summon swap(foo, bar); with appropriate reagents.
 
Xeo
namespace X{
  struct Y{};
  void f(Y){}
}

X::Y y;
f(y); // magic.
 
@TonyTheLion Basically, it's looking up functions (if unqualified) on the namespaces of the arguments.
@Xeo Fail.
 
@Xeo You fool!! You forgot to summon f in the proper space of names!! A pox on you!!
 
12:33 PM
X::Y y; // FTFY
f(y);
 
Xeo
@RMartinhoFernandes What?
 
I say it's not worth being a cargo cult programmer unless complicated rituals are involved.
 
Xeo
@RMartinhoFernandes Ah, thanks.
 
Just-On-Sight compilation is awesome.
2
 
Without the inscription using X::f; you may as well have released rhinodemons.
 
12:36 PM
What are you talking about?
 
Next time I need a nickname on the interwebs I'm using 'Rhinodemon'. Dibs.
 
lol
I knew it, bot can compile things by merely looking at them
I wonder if he has a preprocessor in his head too?
 
Xeo
I can compile templates just by looking at them!
 
@RMartinhoFernandes ah, so if the function has no namespace qualification, then it will look inside the argument's namespaces?
 
12:39 PM
@RMartinhoFernandes Cargo cult programming. Always go through the motions!
 
@Xeo I can get confused looking at templates
 
@TonyTheLion Yes.
 
@TonyTheLion Which is at least one reason to never, ever not put your code into a namespace.
 
@LucDanton I'm starting to suspect you've also been awake for more than 24 hours like Xeo.
 
12:40 PM
Because otherwise then there's no argument namespace to look inside :)
 
@TonyTheLion He's going insane! Don't mind him!
 
Tin
hello guys! the other day, i received valuable hints from you for using the struct `stat()`, however it seems to be that the way I'm using it to check whether a file exists or not, is not correct. Could you pls have a look at the following function? http://pastebin.com/tsy6rTcU
More specifically, the problem is that even some files are physically stored, it doesn't find them (line # `35`)
 
Xeo
@RMartinhoFernandes I'm starting to suspect he's in trolling mode.
 
@RMartinhoFernandes oh explains a lot
 
@RMartinhoFernandes I always bring the name of whatever I want to call into scope when using ADL.
 
12:41 PM
@LucDanton how would you do that?
 
Xeo
@TonyTheLion using declaration
 
using std::swap; bring swap into your current scope.
 
Xeo
In any case, I think I've postponed going to sleep for long enough now, g'night.
 
so then the swap call has no namespace qualification, so ADL is invoked
 
But that's because you want "ADL with fallback to std::swap".
@Xeo ~6 hours ago.
Good night.
 
Xeo
12:42 PM
Hrhr
 
@RMartinhoFernandes I don't see the advantage of that over just calling std::swap
 
Xeo
@TonyTheLion Overloads
 
oh....
 
@TonyTheLion If there's a special version of swap on the type's namespace it gets called over std::swap.
 
Partial specialization of function templates, impossibility of.
 
12:44 PM
ah, so that's why one uses ADL
 
If there's no special version of swap, it falls back to std::swap.
 
but then if the ADL does fail, it will call std::swap anways
 
e.g. imagine that boost::tuple<T...> has a specialized swap. You can't put it in namespace std.
 
Xeo
@LucDanton POO, PILE OF
 
@TonyTheLion Exactly.
 
Xeo
12:44 PM
Not like you can't emulate partial function specialization
 
ah I see
I think I finally get it
 
@Xeo Yes, you can forward to a struct. But the problem is that you must document that struct if you allow clients to write their own specializations.
 
Xeo
@TonyTheLion Then, as an exam, write an example on Ideone. :)
@RMartinhoFernandes No, without forwarding.
 
what header is swap in?
 
12:47 PM
<utility>.
 
<utility>. Probably.
 
Xeo
C++03 <algorithm>, C++11 <utility>
 
That's the scale of brevity to completeness!
 
Xeo
lol
 
It also comes from a bunch of others.
 
Xeo
12:48 PM
5
A: terminating function template recursion

XeoHere's one without a specific helper struct: #include <iostream> #include <tuple> template<std::size_t> struct int2type{}; template<class Tuple, std::size_t I> void print_imp(Tuple const& t, int2type<I>){ print_imp(t, int2type<I-1>()); std::cout <...

Is what I was talking about btw
Just overload with a "meta type"
 
Yeah, that's going to work in namespace std.
Woe betides he or she who disturbs the great space of names std!
 
@Xeo Now do a partial specialization for std::vector<T>.
 
Xeo
@LucDanton I don't remember saying you could do this in namespace std :P
@RMartinhoFernandes Of what?
 
Of that print function.
 
@Xeo My answer, in context, is that partial specialization is impossible in namespace std. Of course I know how to get around that otherwise, duh.
Feeling aches? Sore? Overly stressed? Try SFINAE, the new cure-all!!!!
 
12:51 PM
I had a problem, and I tried to use SFINAE to solve it. Now I have two problems.
 
Oh wait, I didn't properly read the question.
@LucDanton SFINAE cured my cancer.
 
@DeadMG Try more SFINAE.
 
> SFINAE drops you back in the thick of things fast. Taken as directed, SFINAE speeds relief to head and stomach. Remember: SFINAE is only seconds away. Avoid prolonged use.
 
I feel sub-optimal
 
Damn, I forget to replace one last instance of "Ubik".
 
12:54 PM
I'm not surprised. I expect that word to be everywhere.
 
Is that what they call a stealth pun?
 
No idea. The work is in fact meant to be a distortion of the latin word ubique.
And it is literally everywhere in the story.
That is, until the main character realises he needs Ubik and goes looking for it. Then it gets hard to find.
 
Since I don't (didn't?) know the plot I was going for the play on words, not a reference.
 
meh, ideone is being shtty
 
Xeo
12:59 PM
@RMartinhoFernandes Simply overload for std::vector<T> instead of Tuple?
 
here is my ADL example ideone.com/clone/O3CDw
 
@LucDanton Don't worry, you still don't know the plot. I don't think I can spoil it, because I don't think I know the plot (I did read it).
 
can't get ideone to go run it
 
What is the the difference between __forceinline and inline? I can't get it's function at all.
 
7 mins ago, by R. Martinho Fernandes
Oh wait, I didn't properly read the question.
 

« first day (479 days earlier)      last day (4467 days later) »