« first day (572 days earlier)      last day (4374 days later) » 

12:01 AM
hey guys! why is it a good idea to use a string class as a socket buffer?
 
Is it?
 
if you have strings sent over your socket, it seems like a good idea, otherwise, I'm not sure why it would be a good idea
just use a std::vector<char> otherwise
that's what I would do
 
For binary data it's a bad idea, because std::string uses char, and the signedness of char is implementation-defined.
 
lolcakes
 
Also, for binary data std::vector<unsigned char> will make your intention more clear.
 
12:04 AM
@classdaknokt no, char is required to be signed nowadays, and technically char is different from signed char is different from unsigned char. anyway. compilers have switches to make them signed/unsigned
 
user406009
Why not just use std::vector<uint8_t>? I am fairly sure it is in the standard now.
 
Then it's a bad idea, because for binary data you want unsigned char. :) (Or in the case of sockets, where you work with octets rather than bytes, uint8_t's.)
 
I'm just coming here for opinions on something I found gobstoppingly stupid that I read
 
user406009
 
well, when you find something that just seems so wrong, maybe it's you who's wrong, right?
 
12:08 AM
I'd just never store binary data in a string. Strings are for text. Vectors of bytes or octets make your intention clear.
 
Hm, isn't char suppose to represent the smallest addressable unit? What happens to std::uint8_t when CHAR_BIT > 8?
 
@GManNickG afaik, the implementation isn't required to define uint8_t.
 
@classdaknok_t Oh right, that sounds right.
 
Oh how many times I've seen people assume CHAR_BIT == 8, or sizeof(int) == 4
 
user406009
Are there any modern hardware platforms where CHAR_BIT != 8 ?
 
12:12 AM
When compiling for the DCPU-16, CHAR_BIT == 16.
 
I have to say - sometimes to the annoyance of others - that every since I was 17 I have been explicit about the size and signedness of every single int variable I used.
 
The DCPU-16 isn't even released yet, afaik, but an LLVM back-end has been written.
 
sigh@DCPU-16
 
user406009
Seems rather obscure.
 
BLAME NOTCH!!1
 
12:13 AM
if I can't assert a RESET mid-program I can't call it a well emulated fake CPU
 
16 bit chars are so a waste of space when you have large strings. :P
 
will the DCPU16 use ASCII?
hmmmm?
 
user406009
Wait, I just quickly glanced at some google results. Is Notch actually planning on running his game inside an emulator for a non-existent CPU?
 
I don't know and neither do I care.
 
no, the emulator is inside the game
AFAIR, you get one in your ship or whatever
so you don't have to use redstone in space
 
12:18 AM
@Ethan no, you can program your space-ship in DCPU-16 assembly (or, when using clang, in C or C++) and the game has a virtual machine.
 
he should have just used CHIP-8
it's a very mature and time tested fake architecture
 
Or x86-64.
 
on odesk it says "what kind of contractor do you need?" so I put in "herpes" and 1 contractor was found. odesk.com/contractors/herpes
 
or JVM bytecode / CIL
 
user406009
Oracle would probably sue(seeing how they are treating Google).
 
12:23 AM
Oracle sued Google for their implementation of a sorting algo in Android. The algo was written by a former Oracle employee and the code was exactly the same, about ten years later.
Suing a company for nine lines of code is really silly, but I always disliked Oracle.
 
user406009
Wasn't most of the code Google used from the already open sourced Harmony project?
 
and it's not like Google can't write their own sorting algorithm easily
 
@DeadMG the same person wrote it twice. It's no wonder the code isn't different. The algorithm wasn't even Oracle's, just the implementation.
It's like suing everybody who writes hello world in C if the code is the same as in K&R's book.
 
lol
 
user406009
I just hope APIs are ruled not copyrightable.
 
12:29 AM
I hope Oracle goes bankrupt.
 
Q: what do you call a dog with no legs?
 
Handicapped.
 
it doesn't matter because he won't come when you call him
 
Pwnd.
He'll roll.
Howlong is a Chinese person
Fuck libraries that don't just work when adding their source files to your project.
ODE, I'm looking at you.
With your gazillion dependencies.
 
12:57 AM
daaamn
why 720p film 700MB and 640p film 1.3GB?
 
Resolution isn't the only thing that affects the file size.
 
@DeadMG ....really?
 
1:17 AM
Length, codec choice, encoding parameters.
Too many variables to compare just by resolutions.
Also FPS.
 
@CatPlusPlus hi,how are you?
 
user406009
I know this is a Java question, but does anyone here know how to get ordering for objects of the java.lang.Class? Of course the C++ alternative has operator< defined, but this is Java.
 
@EthanSteinberg can you describe your question in detail?
 
1:32 AM
it should inherit from some pathetic interface or other
 
user406009
I am trying to implement a sort of double dispatch system in Java, with a map of pairs of classes being bound to an interface.
 
user406009
I want both looking up in the map pair(classA, classB) and pair(classB,classA) to return the same function object thing.
 
user406009
It seems like having some sort of ordering for class objects would be the easiest way to do this(preprocess all pairs by putting them in the "correct" order).
 
Hi Ethan!
Have you tried option we discussed yesterday?
Map<? extends K, ? extends V> m
 
user406009
?
 
user406009
1:36 AM
Actually, I guess the ordering is completely unnecessary, my bad.
 
user406009
I can just chuck the function object in twice.
 
well make a mapped list of objects A and B
then make a function that iterrates through them synch or not
if you do synch, make sure to put both into the chain
if not, make 2 functions which will go through that listing.
use LinkedList<ObjectA> if needed ordering
 
 
2 hours later…
3:18 AM
YT player y u no remember volume setting.
 
3:43 AM
Did this really deserve closing?
0
Q: Symbolic differentiation using expression templates in C++

coderboyHow to implement symbolic differentiation using expression templates in C++

I'd like votes to reopen, I can provide an answer.
 
@LucDanton k, done
i think that in order to vote to close, one should have to answer correctly a question about basic arithmetic or logic, like, 20% of 300 = ?. sort of like facebook alcohol filter, except with different screening purpose. screening not only the drunk but also those who in sober mode cannot do better than a drunk.
@LucDanton by the way, there was a nice little implementation of symbolic derivation in Lisp, in Patrick Henry Winston's "Artificial Intelligence", unless it was in the companion book "Lisp" by him and Kornholdt (? - I forget the name, math guy)
 
@CheersandhthAlf Recursive tree manipulations of symbols?
 
@LucDanton yes
 
Ya, I want to outline how that would look like in C++ (in general and in particular with Boost.Proto).
 
Ah, Berthold Horn
The computer vision guy
 
4:00 AM
@LucDanton: I cast the last vote, it's open again.
 
@GManNickG Thanks.
 
4:14 AM
Hiya all
 
Hello
 
4:37 AM
Alright, Diablo 3 preordered. I'm ready for tuesday.
 
 
1 hour later…
5:50 AM
bah bah
Yep. Still awake after 50 minutes of getting up!
It's a near record.
:D
 
@LucDanton: Fantastic answer.
 
@GManNickG I didn't really know whether the OPs already knows e.g. how to use expression templates though, so the 'general' part of the answer is somewhat lacking.
 
 
2 hours later…
7:27 AM
@RMartinhoFernandes erm, it doesn't really fit in. to give you a use case, you could say "I mildly doubt that" (though it sounds a bit funny) but for others you listed, you would say "I have <no, a few, some, a lot of> doubts about that". I suppose some where around "few" and "some". that help you bud?
 
7:39 AM
mother of god, would it be too much to ask for these documents to be proof read properly?!
 
7:58 AM
Hey anyone good with qt?
 
8:45 AM
oh hai
a good friend of mine just had his first child, I can't express how happy I am for them :)
 
:)
 
sbi
9:10 AM
@TonyTheLion That is sad.
 
sbi
@TonyTheLion Wouldn't it be so much better if you were able to express how happy you are? You have my sympathy.
:)
 
@sbi oh I see what you mean :)
 
sbi
@TonyTheLion Took you! :b
@sank: I still haven't found the time to get hold of a copy of the book and look into it, but I fired a link to this towards Scott Meyers, and he wrote to me that (I am re-translating this from German) "there's two versions of operator delete on page 255. The first is the non-member version, and it's the one he copied. The second version is the member version and that is the one he should have copied. It contains the test you supposedly expected: [...] if (size != sizeof(Base)) [...]". So you might want to go back and read this more thoroughly. HTH! — sbi 2 mins ago
 
9:32 AM
@sbi yea you did, and this isn't the first time anymore :P
@ScottW lol, well, quite a few of mine are having kids, and I'm just the loner in all of this
heheh :P
 
Yes.
 
yes, make a sandwich
 
yes make me one too please
Why should I use chocolat instead of mate?
sudo make me a sandwich
just a tasty one
 
10:04 AM
@ScottW lol wut?
Nothing is going on today. I'm thinking about my debugger.
 
To the individual who downvoted: would you like to explain what could be improved about this answer? — sehe 54 mins ago
^ I hate when they do that
 
@ScottW DIAF, I'm hungry.
 
@sehe I share your hatred
 
@sehe I've heard votes are skewed since recently on SE. Or was it reputation?
 
@TonyTheLion Especially since I think that answer was WIN. It answered the question exactly (even if it had unneeded constraints) and it is by far the shortest and easiest to understand.
Perhaps someone doesn't like that :)
@classdaknok_t Skewed? 'scheef'?
 
10:08 AM
@sehe whoever downvoted is now an asshole
 
@ScottW opponent?
 
@sehe yeah, the values aren't the actual values, but they are added to a small random number. Reddit does this too.
This random number can be positive, negative or zero.
 
@ScottW Meh. No sense
@classdaknok_t Ok, so it is 'random-influenced' or obfuscated. I wonder why
 
Sleep? It's twelve o'clock.
 
@classdaknok_t cue: Introduction to meridians
 
10:11 AM
:P
BoltClock
@sehe it was obviously a joke.
 
@classdaknok_t I know. That's not relevant for cues :)
 
Speaking of time, it's almost 13:37.
 
Anyways, the accepted answer contains this step:
> :%s/^(([[+|][^+|]\+)\{1\})[+|][^+|]\+/\1/
Obviously, that is way better than d<C-v>N with a search pattern of -+-
 
An answer shouldn't be accepted unless it mentions jQuery positively.
 
We'll put that in the FAQ
 
10:14 AM
JON SKEET!!!1!1!!1!1!1!1!111
Tot ziens!
 
@awoodland uninstall Comic Sans and problem solved. :)
 
posted on May 09, 2012

Resolving an overloaded function call involves finding a single possibility that is strictly better than all the others.

 
I'm so sad that I'm now browsing memes
meh
 
BROWSE ALL THE MEMES!
 
10:22 AM
a string literal doesn't implicitly convert to std::string ??
but it does convert to a const char* ?
 
A string literal is of type (const?) char[N] so it does convert to const char*, yes.
 
@TonyTheLion It should. It doesn't go as std::string&, const std::string&should be fine. Mind showing the problem code?
Consider simplifying that generic version to %s/^\v([+|](.{-}[+|]){2}).{-}[+|]/\1/. Although I still prefer the /-+- regex in my answer :) — sehe 4 mins ago
Anyways, lunch time
 
if you have an overloaded function void foo(const char* s) and void foo(const std::string), will overload resolution not pick the const char* because of the implicit conversion, when you call it like foo("blah") ?
 
@TonyTheLion The conversion to const char* only requires one conversion, so it's preferred.
 
oh, and string requires more then one?
 
10:28 AM
To std::string requires const char[N] -> const char* -> std::string.
And you can do up to two conversions.
 
sbi
I like this pic:
Do you see whats strange about it?
 
So if std::string had a conversion to float, for example, float f = "asd" will not compile.
 
@sbi the tap is dripping
 
sbi
@TonyTheLion Great, isn't it?
 
10:29 AM
@sbi If this jumps out at me I'll hunt you down.
 
@sbi subtle
 
@sbi BIN IT! See the newbie-hints
 
sbi
Here is another one.
 
@GManNickG well, yea because it's std::string that has the conversion, not float ?
 
sbi
@sehe Why would I?
 
10:30 AM
@sehe ghosh, it's hardly noticable
 
@TonyTheLion Hm? I'm saying if this would work (hypothetically): const char* c = "asd"; std::string s = c; float f = s;, this (float f = "asd";) won't go through those same conversions because it requires three, and only two are allowed implicitly.
 
@TonyTheLion It's taking up 500 x 281 pixels on my screen. I call that noticeable :)
 
sbi
@GManNickG If I'd post a pic out of which something jumps at you, you'd be in no shape to hunt down anybody afterwards.
 
@sbi Animated gifs. Kill it with fire!
 
sbi
@sehe Fire won't work, it's got running water available.
 
10:31 AM
@sbi Kill it with a chemical fire.
 
sbi
2 mins ago, by sbi
Here is another one.
 
yellow all
 
@GManNickG so hypothetically, it would go: const char[N] -> const char* -> std::string -> float ?
 
@sbi You did notice that was my joke? I'd appreciate royalties, made payable to IBAN 184576A / SWIFT FH76833 in the Netherlands
 
you can't go ragging on cinegraphs
 
10:33 AM
@TonyTheLion Right, if it allowed infinite conversion sequences (or at least three in this case). But for practicality sake (and probably for some principled reason, like readability), only two are allowed.
 
sbi
This one I like, too.
And this one I posted especially for @sehe. I'm not going to onebox, though, a link is bad enough. You have been warned. (Now I made everybody will click on it.)
 
Ah Lounge<C++>. Where productivity goes to die.
 
but the array degrading to pointer doesn't count as a conversion
 
sbi
@Neil We're all very productive here. For starters, we generate a lot more messages than most, if not all, other rooms.
 
@sbi That's a productivity conversion, of sorts.
 
10:35 AM
@awoodland Why not?
 
@GManNickG right, makes sense
@sbi WTF?
 
@sbi That is beautiful
@Neil Sublimation
 
@GManNickG for the same reason that if you want to deduce the size of an array as a template it needs to be a reference to the array
 
array decay?
 
@awoodland Huh? I don't see the relation.
const char* sl = "getting this char array to a const char* takes one conversion";?
 
10:37 AM
@sehe Ah I see. My eclipse is filling up with code as we speak, in fact. o_O
 
sbi
@Neil Any production is a conversion, of sorts. Nobody generates products out of thin air.
 
@GManNickG ideone.com/EdsdP is fine though
 
@sbi True, but I sincerely doubt many useful products are going to be produced from a chat room.
Then, I'm definitely not going to be very productive today anyway. I'm too sick to be well and too well to be sick.
 
@awoodland I never said such a thing wouldn't be fine. It goes int[6] -> int* -> foo.
Then the temporary foo goes to the reference (no conversion there).
 
Is there anything in C++ that you can do with a int [6] that you can't do with an int* (assuming you can't cast one to the other)?
 
10:44 AM
@Neil sizeof is very different
 
@Neil They are two different types, so there's that.
 
I suppose an int[6] is a guaranteed space, whereas int* has no guarantees, but apart from that.
 
@Neil One contains 6 ints, the other points to an int. Two totally different things.
 
@GManNickG but the extra level comes from stackoverflow.com/a/10505291/168175, which isn't part of the normal conversion rules, it's part of the function declaration rules
 
@GManNickG Right, but you could use an int* to point to an array of size 6 and be able to do everything with it that you could with an int[6].
 
10:46 AM
@awoodland Again, I don't see how that question comes into play. That has to deal with the type system of C(++), this has to do with the conversion of values, not types.
 
@GManNickG it's part of the function declaration type rules that makes that happen there, not the usual conversion mechanism
 
@Neil Actually, you can only use it to point to an int. To point to an array of size 6, you use this: T (*)[6].
 
OK, that finally got me what I was looking for: "[...] After determining the type of each parameter, any parameter of type “array of T” or “function returning T” is adjusted to be “pointer to T” or “pointer to function returning T,” respectively. [...]" (8.3.5.5 in the C++ 11 standard) — dionadar yesterday
which is independent of the usual way something can be converted
 
@Neil An int[6] member is much different from an int* member for instance.
 
@awoodland Again, function declaration type rules. The discussion we were having concerns values.
 
10:48 AM
@GManNickG You could assign an int* to a new int[6] for instance
 
@awoodland: Can you please pinpoint exactly what claim you're trying to make that I apparently contradicted?
 
@awoodland No conversion is involved with that rule. It means that e.g. void foo(int[]); is semantically the same declaration as void(foo*);.
 
@Neil In int* i = new int[6], i points to a single integer, which happens to be the first element of a dynamically allocated array.
 
@LucDanton I know they're different, but I only meant that you could use one or the other interchangeably.
 
@LucDanton which was my point, but I missed part of the beginning of the discussion apparently
 
10:50 AM
@GManNickG Yes, again, I know they're different. I only meant to ask if allowed you to perform some operation that you couldn't do without further context with int*
 
sbi
@Neil Think of the Lounge as a catalyst. The only thing it produces is knowledge. That is hard to measure, yet everybody will agree that, at least in our industry, it increases productivity. :)
 
What matters though is that for the purpose of overload resolution an array decay is ranked as an 'exact match'.
 
If you have a function that does NOT have any overloads, is that function resolved also by it's argument types or just by its name?
 
@sbi It's productive if you want it to be. :)
 
@Neil Well, no. struct foo { int m[6]; }; and struct foo { int* m; }; don't behave the same (e.g. when copying).
 
10:51 AM
@Neil Sure: void f(int (&)[6]){} int a[6]; int* i; f(a); /* ok */ f(i); /* error */.
 
@GManNickG Okay, but why would you declare a method that way? I think it can "help" you in trivial ways, perhaps.
 
Or maybe that's not what you meant when you said 'interchangeably'?
 
@LucDanton Good point, that is an advantage isn't it? Or disadvantage depending how you see it.
 
@Neil You simply asked if they are interchangeable and I showed they aren't. If you're going to presuppose that question with "in any case I care about", then say so, so I can avoid answering.
 
@Neil They're just not the same thing. Like int is not interchangeable with double. Which one has the advantage over the other?
 
11:07 AM
user image
2
^ security FAIL
 
Indeed, those passwords should be stored encrypted.
 
sbi
@classdaknok_t keepass.info
 
I never lose my ass.
 
I never lose my ass either. Maybe some day when I meet a suicide bomber, but lets not assume that happens.
 
11:12 AM
lol
 
sbi
Ass loss. That sounds...
 
weird
 
@classdaknok_t They are encrypted. The actual password are a24534c4dfb056f70e498c167fc57d09 and f0cac2895ca89e0744c91ba84ed9b702 but they are encrypted in humanreadable format so automated attacks won't find usable keys :)
 
@jalf Yeah, I thought you'd like to know there are people on the committee weary of that.
 
@sehe Fun encryption algorithm.
 
11:15 AM
I don't know what the reason is, but from the looks of it, it seems they didn't do a very good job specing it.
 
@RMartinhoFernandes Do you know what would be troublesome? When construction happens?
 
"I don't know what the reason is (...)"
 
But the looks of it D:
And the specing! What about all those?
 
Well, SDT tweeted about the committee discussing it because someone wasn't happy with the current spec.
 
Xcode y u use linear interpolation for show/hide debugger animation.
 
11:18 AM
That's all I know.
No real consensus to reconsider non-POD thread_local objects. If someone really cares, they need to write a paper. #cxx #wg21
This one was the last thing he said on the issue. /cc @jalf
 
That's bad, isn't it?
 
I think so.
Thread-local non-POD are something I think we should have, but I can understand that it makes things complicated.
 
Do we know what the issue is?
I mean, doesn't Boost basically do it today?
 
11:34 AM
I'll ask.
Oh, you did.
 
yeah
 
@jalf: Yeah, Boost has thread_specific_ptr, and from the docs seems to not require POD's.
 
Peeking at the docs, it's severely limited: it provides T*, not T; initialization is left to the client; cleanup is only guaranteed when using boost::thread.
 
Using it as the underlying structure would make thread-local objects trivial.
 
@GManNickG Pointers are PODs, and that's basically what it does.
thread_local T* ptr;
 
11:37 AM
@RMartinhoFernandes I mean internally use a thread_specific_ptr, and reset() it automatically upon first use, then you can thread-locally point to any object.
 
Yeah, but the point of non-POD thread_locals is that you don't have to initialize it or do clean up manually.
 
@GManNickG reset() will set to nullptr. So it's no better than using a T*.
 
@RMartinhoFernandes I'm talking about an implementation, not use.
 
And how can an implementation automatically initialize it?
 
@LucDanton reset(new T) I mean. Give me a minute to write up an example.
 
11:38 AM
The one in boost doesn't.
 
Quick question, for those who use K&R identation style
how do you format try catch
I find them to add unnecessary scope,
 
sbi
There's no try/catch in K&R. :b
 
I was thinking just not indenting them like switch case
sbi I know, that is why I am asking
sbi what a good manner to do try catch in k&r is
 
I use BSD/Allman style.. and raise an indentation level for them.
But I agree that it'd look ugly in K&R .
 
try {
    foo();
} catch(...) {
    bar();
} // I do this
 
11:42 AM
Yeah I used to use Allman, but it wasn't so bad because that is already white space heavy
yeah I have that } catch (...) { on one line thing
*hate
 
What.
 
What do your elses look like when doing if/else?
 
}
f
 
Everything else is silly.
 
oops how do you multi line in this chat
 
11:43 AM
It's not a separate statement, it's part of the previous one.
 
Shift Enter
 
yeah I currently do
if() {
}
else {
}
 
Oh, my fingers know it better than I do.
@111111 Then do the same for try-catch.
 
so I guess I'll just keep doing that for C-T, but it is ugly
 
It's ugly either way.
 
11:45 AM
There's always something to be said for consistency.
 
yeah
 
sbi
@RMartinho, can I ask you a C# question?
 
I bet you can
Try it if you must :)
Or you can ask me
 
@RMartinhoFernandes @LucDanton @jalf Something like this:
// imagine this class exists implicitly:
template <typename T>
class __thread_local
{
public:
    template <typename... Args>
    __thread_local(Args&&... args)
    {
        data.reset(new T(std::forward<Args>(args)...));
    }

    ~__thread_local()
    {
        delete data.release();
    }

    T& get()
    {
        return *data;
    }

private:
    __thread_local(const __thread_local&) = delete;
    __thread_local& operator=(const __thread_local&) = delete;

    boost::thread_specific_ptr<T> data;
 
sbi
11:49 AM
I changed the signatures of a bunch of overloaded methods so that a certain parameter that used to be ref is now out. It was a sweeping change, and I had to change tons of code (and caused half a dozen test errors, which are now fixed), but all agree that it's a change for the better. However, this one annoying cow-worker brought up the damn issue of users already having code compiled against the old API. :(
So I wanted to introduce the old ones as [Obsolete] overloads, but you can't overload based only on ref/out.
 
@GManNickG Static initialization doesn't run per thread, right?
 
sbi
Anyone of you have any idea what to do other than changing the name of the new functions?
 
@sbi I don't think there's really any other option. :(
 
@RMartinhoFernandes Well that was fucking stupid. Disregard. The idea could be translated to something more fundamental though, I think.
 
@GManNickG Yeah, sure. That's the sticking point.
 
11:51 AM
@GManNickG I really don't think it can be done without semantic support in the language.
 
Ok, you kind of lost me. What are we discussing again?
 
sbi
@RMartinhoFernandes Damn, I was so hoping for someone to say this is a common problem, and here's how the C# folks commonly deal with it without having to rape their code.
 
@jalf If we can use thread_specific_ptr from Boost to implement thread_local in our SO-C++-Chat-Brain-Compiler.
 
@GManNickG oh right
 
11:52 AM
I made an attempt that gets 90% way there, I think, but it does need to be more fundamental at some point.
 
@sbi There is the idea of explicit interface implementation:
    public interface ITest { bool MyMethod(ref string p); }

    public interface ITestEx { bool MyMethod(out string p); }

    public class Test : ITest, ITestEx
    {
        public bool  MyMethod(ref string p)
        { return true; }

        bool ITestEx.MyMethod(out string p)
        {
            p = null;
            return true;
        }
    }
 
Don't forget that support for PODs means that thread_local StorageFor<T> storage; is here (where StorageFor aliases to the result of std::aligned_storage). Initialization really is the missing link.
 
sbi
@sehe Are both of these public and callable by everybody? Because that's what I would need.
 
This would, however, possibly require you to replace your previous class with an interface, which wouldn't work if the classes were publicly instantiatable.
@sbi The idea to 'forge' backwards compatibility here, would require you to name the 'ITestOld' to the name of the class before refactoring. User code would then appear expect that interface instead of your specific class.
 
@sbi The first one is callable through a variable of Test or ITest static type. The second is only visible through a ITestEx variable.
It's actually a neat idea.
 
11:56 AM
I'd have been happy if they'd standardized something like thread_specific_ptr. I just want the destructor to be called when the thread terminates, everything else is syntactic sugar
 
sbi
@RMartinhoFernandes Yeah, I had just understood that on my own.
 
@jalf If Boost.Thread does come to their attention, perhaps that's what they will take from it?
 
sbi
@sehe Well, the class is an abstract base class, but it seems very unlikely that anyone would approve of that, because the whole construct is already quite complex anyway.
Lemme think about it for a moment.
 
@sbi I recommend you play around with explicit interface implementation for a bit to get used to the idea. I agree that using it to 'fake' backwards compatibility here is a kludge.
 

« first day (572 days earlier)      last day (4374 days later) »