« first day (1663 days earlier)      last day (3285 days later) » 

4:00 PM
I’m sure that’ll come in handy one day.
 
I'm sure that'll handy in come day one.
 
hmpfh VS about "cannot convert"
 
user3010322
I tried it here, and after discovering the problem with clang filed a bug to STL when I also found out that code that worked with g++ didn't compile with clang++ (there's an issue that was filed in sol for it).
 
user3010322
STL walked me through the standard's wording and we both found that you cannot have both Sig overloads and Args... overloads without the resolution finding an ambiguity.
 
user3010322
Again, this is for functions.
 
user3010322
4:01 PM
Not a clue about how structs would do it.
 
user3010322
You can still write the code but if you try to call, say, a free function named void overloaded( int, int int ) with both call<void(int, int, int)>( overloaded ) call<int, int, int>( overloaded ), it's actually not viable or legal. Is what I'm trying to get at.
 
Ell
Okay so I have void foo(int, int&, const volatile int&){} and I need to get the argument types. How do I do that without function_traits?
in fact
 
@LucDanton Does that denote a member function returning void and taking nothing that can be called on lvalues only? I thought the X::* part was necessary too for member function types
 
Ell
my function_traits doesn't even work xD
I'll try that first
 
@AndyProwl That’s for member pointers.
 
4:06 PM
oh
wait
 
@BartekBanachewicz lol
 
lol shit I don't get it
 
If F is a function type, F C::* is a member function pointer type. F can have this-qualifiers.
 
and without decltype too i guess
 
@LucDanton Oh, ok. I didn't know that
 
4:09 PM
@AndyProwl There is no type for non-static member functions because in expressions they can only be used for function calls and forming ptfms.
 
> As I stepped through the gate, I found this lamb laying in a pile of his own excrement and the life almost entirely gone from his eyes and body. I called the owner, and after a few disgruntled swear words, she said she’d be down there in a bit with the .22 caliber rifle.
lol
 
@LucDanton For some reason I find it wrong that function types can have this-qualifiers. This-qualifiers only make sense for member functions
 
@Cicada How exactly is shooting sick lambs funny?
 
user3010322
Is it bad that when I saw "gate" I thought "portal to hell" ?
 
> As I stepped through the gate, I found this lambda laying in a pile of his own reference and the lifetime almost entirely gone from his header and body.
 
4:12 PM
@ThePhD you must hate airports
 
So you can encode two types T, U as one type T[N] where std::tuple_element_t<N, some_tuple_type> turns out to be U, too. But of course that’s plain dumb and no more convenient than, well, just using T and U directly. Similarly I don’t see the need for the R(Args...) hoop when I could just be using R, Args....
 
Are you template-meta-programming? Don't do that.
 
@fredoverflow Well, I’m not. That’s my point.
 
The void() & thing is itching me. I think it's a bad thing
 
Ell
Hmm
I found these in my QualifiedTypeID class: bool is_referred_const; bool is_referred_volatile; and now I'm concerned
I don't remember them being relevant or what they are for :L
 
4:16 PM
@Ell QualifiedTypeID? What are you writing?
 
Ell
@AndyProwl multi methods in library
 
I see
 
Ell
I got them working based on dynamic type
now I need to get them to choose the correct overload based on const, volatile, etc.
YAGNI, but exercise
 
Sure
 
Ell
also it doesn't deal with ambiguity correctly yet
between values and references
 
4:17 PM
Multimethods would be an interesting core language feature, but I'm not sure how feasible they are in C++
 
@AndyProwl Bjarne wrote a paper about it.
 
@fredoverflow Yeah, I've read it
Not sure how they would interact with other language features either
 
@LucDanton haha yeah, it was a fruitful day for me
 
Ell
@AndyProwl the interface to mine looks like this so far: coliru.stacked-crooked.com/a/4371a72b1b5bbf1c
they are very "open" though - you can add stuff at runtime, any number of params of any type
too open for my liking
it'd be nice to write one which you just do all the overloads at compile time
but I haven't done that yet
but as you can see the const overloads don't work yet
 
4:22 PM
@AndyProwl Oh, I would have assumed the paper covers it. Haven't touched it on a long time.
 
> The London restaurant, which opened in 2006, offers an eight-course French tasting menu for £214 per person
An entree of caviar from Sologne, served with blinis and condiments, costs £270
what could possibly be so special about the food to be worth that much
 
user3010322
begin_type
const_begin_type
end_type
const_end_type
 
user3010322
const_begin_type or just cbegin_type?
 
@AlexM. It’s lined with gold.
 
@fredoverflow The paper is quite old IIRC
I'd be curious for instance to see if there are interactions with the proposed UFCS notation
also I seem to remind about problems related to linking
I might be derping though
 
Ell
4:29 PM
I remember him mentioning linking problems
 
user1804599
Good morning.
 
user1804599
@AndyProwl please don't add multimethods to C++
 
user1804599
Overload resolution is complicated enough already.
 
user1804599
Don't defer half of it to runtime.
 
user1804599
 
user1804599
4:33 PM
> This is perhaps the first time in history Pizza Hut has been good for anybody’s health.
 
@rightfold :D you make it sound like my taste or opinion was any relevant to the future of C++
fuck it I can't reedit
++english_suckages;
 
Xeo
@LucDanton There's edible gold foil :s
 
Oh shit, I still haven't bought a tent.
 
user1804599
@R.MartinhoFernandes craft one.
 
user1804599
When's voting in the UK?
 
user1804599
4:47 PM
7th?
 
user1804599
I'm excited.
 
Ell
Tomorrowsies
I wonder what time will be the least busy
 
@R.MartinhoFernandes How long is the way back going to take you?
Give or take, of course
 
@Ell postal vote ftw
 
user1804599
4:51 PM
wait what
 
user1804599
denying the holocaust is punishable by law??
 
user1804599
WTF
 
@AndyProwl Six or seven days.
 
Are you going to alternate camping and hostels?
 
user1804599
brotel
 
4:53 PM
Dunno. I'll probably camp all the time.
 
user1804599
fucking camper
 
Wait, and no shower for six days?
 
Ell
camp sites have showers
 
Yeah but AFAIK he's not going to camp sites
 
@AndyProwl Hmm, good point. Dunno.
 
4:55 PM
Your instructors and course conveners at "Graphic Era University" may not be too happy that you're trying to get people on the internet to do your 4th semester mini-project for you for free. — Lightness Races in Orbit 51 secs ago
gutted
 
@R.MartinhoFernandes Actually if you don't mind the cold water, you might be able to get a bath in the Labe river
 
Is that the Czech name for the Elbe?
 
Ell
Okay I'm getting confused
 
I've seen people doing it last time when going to the Unconference
@R.MartinhoFernandes I guess so, let me czech
 
Ell
const int& - that is a reference to a const int, right?
 
4:56 PM
@R.MartinhoFernandes Yes
 
fuck me
 
@Ell right
@khajvah no
@R.MartinhoFernandes yes
 
Ell
I wonder why std::is_const<const int&>()() == false then o.O
 
@AndyProwl I'll cycle along its banks most of the way.
 
@LightnessRacesinOrbit dox them and add them to the public "don't hire" list.
 
4:57 PM
came back from work, fell asleep. I won't be able to sleep at night\
 
Xeo
@Ell the const isn't top-level
 
Ell
oh wait right yeah
 
@R.MartinhoFernandes I thought so yes
 
Only the final stretch isn't.
 
it's a beautiful landscape
All right, time to get my ass out of the office
 
4:59 PM
@AndyProwl That actually sounds like a nice idea.
 
I should quit my job before they tell me to do javascript front-end
 
Ell
is int& const a reference to a const int?
 
Xeo
it's ill-formed
 
Ell
Okay
 
Xeo
(except through template substitution etc)
 
5:00 PM
somewhat anticlimactic article but still
 
Ell
yeah
const int* const
const int*
first one is const pointer to const int
second one is const pointer to int
 
Ell
maaan
How am I being so confused by syntax :L
 
user3010322
Arrrrrrggh debuuggg itterattoooooorrrrrsssssssss
 
Ell
what's up with debug iterators?
 
user3010322
5:04 PM
They're ruining things.
 
user3010322
c_string_view can be constructed from a begin and an end that are pointers.
 
user3010322
In release mode, std::string iterators are just pointers.
 
I am starting to believe that c++ is the ultimate programming language
 
user3010322
In debug mode, they're super duper wrappedup bombs.
 
Ell
I wonder what typename __decay_and_strip<volatile Parent &>::__type is...
 
user3010322
5:06 PM
Maybe I can just have a constructor that takes 2 iterators for the desired char type and then I can just use platform-specific macros to allow me to fish out the pointer for each one...
 
@khajvah lol
 
user3010322
But so much WOOOOOOOOOOOORK.
 
@Ell Pointer to const int.
 
Read from right to left.
 
Ell
5:07 PM
@Jefffrey oh this helps :D
 
user3010322
@LightnessRacesinOrbit Make me breakfast? <3
 
Xeo
@ThePhD &*first
but don't.
:P
 
Ell
my const overloads work but my volatile ones don't
 
user3010322
....
 
user3010322
Why would you tell me that
 
user3010322
5:08 PM
and then tell me not to.
 
Xeo
no actually, that should be fine
 
user3010322
You're the worst. ;~;
 
@Ell That's also why it should be int const* and not const int*
:P (I'm joking, both are good)
 
Xeo
auto f = &*first;
auto l = f + (last - first);
but really, just accept pointers only
and let the user worry
 
user3010322
I'm trying to write a substr where if the text_view<Container> has a Container that's a cheap range, I just use that instead of decaying to Boost.Range<iterator>
 
user3010322
5:09 PM
I've got the proper traits for detecting cheap ranges.
 
user3010322
Now it's just trying to figure out how to use them properly...
 
user3010322
I do have an is_contiguous base member class for the text_view, so...
 
user3010322
Maybe I can put that little hack in there and then default to other shit all the other times.
 
Infinite loop rip Unity
 
user3010322
Annnnnd frozen...
 
user3010322
5:13 PM
I blame Cat, the freeze from their unity propogated onto me. :(
 
wtf, our fucked up government wants to tax citizens working abroad
 
Argh, I need to get a hair cut.
My desk is full of hair.
 
Xeo
I got one on Saturday
@R.MartinhoFernandes Mine too. Cat hair.
 
Mine is full of mine.
 
user3010322
One s and that's lethal.
 
5:18 PM
#nofilter
new record for the home->work trip, 40 minutes :smugdog:
 
user3010322
Aww. :(
 
Ell
@R.MartinhoFernandes out of interest, how are you at a desk right now? o.O
I thought you were trekking round europe
 
I'm at work?
It's 19.20.
 
Ell
I am so confused
 
5:24 PM
@Ell I hitchhiked to Amsterdam last week.
 
Ell
But you're not there right now?
That makes sense
 
I returned Sunday.
I'm going to Prague in a week, and then cycle back.
 
Ell
right
 
I'm supposed to cycle to Eberswalde with some folks this weekend, but I'm not sure I want to anymore.
 
5:26 PM
@R.MartinhoFernandes by train?
 
@BartekBanachewicz On the way there, yes.
Now my third favourite means of transportation.
 
lemme, 1st is by foot and 2nd is biking?
 
is enable_if all about triggering compile errors
ugh :<
 
@AlexM. it's about discarding and picking overloads
 
@khajvah apparently we're leading not following in this regard. UK, France, and South Africa are all contemplating it
 
Ell
5:30 PM
How ridiculous
 
@AlexM. "if this type satisfies this requirement, enable this thing"
 
There are going to be lots of riots
 
@BartekBanachewicz Bicycle > hitchhiking > train.
 
Ell
citizenship & government needs to be decoupled from geography actually IMHO
that would make much more competition
not sure how it'd work though vOv
 
For me it's motorcycle -> flying -> something
 
5:31 PM
@BartekBanachewicz in the case where the requirement doesn't pass though, the inside type is not defined, right?
 
depends on the distance really
 
so in my understanding
 
@AlexM. which in turn allows you to do stuff, yes
 
and at least IME the compiler will complain about that
 
that's also where SFINAE comes into play
 
5:33 PM
@Ell Policing would be terribly costly that way.
 
@Ell And coupled to what
Borders are arbitrary anyway
 
Ell
changing governments is too costly for the consumer
if it were less costly governments would have better incentive to make it better for the consumer because the consumer can move easily
idk how it'd work
 
Define too costly
 
user1804599
> $0
 
Ell
It's expensive for me to move myself and my belongings to hong kong
 
5:35 PM
It's relatively cheap in the grand scheme of things.
 
@CatPlusPlus Are they?
 
If it's really that much better, the cost of the move itself should be quickly offset by the benefits.
 
@khajvah I suppose I should specify. Which Government? I assumed you meant the US?
 
Ell
I guess vOv
 
@Mgetz nah, if I was in USA I wouldn't be concerned.
 
@Mgetz Wait, what? Doesn't the US already tax citizens while abroad?
 
USA is rich
 
@R.MartinhoFernandes yes, which is why I said what I did
 
All US citizens I've met in Europe complain about it.
 
5:37 PM
@Mgetz Just because you live in the USA doesn't mean everyone else does mate.
 
@khajvah hahaha no
 
@Mgetz Oh wait, I see how to read your sentence now. Nevermind.
 
@LightnessRacesinOrbit I could have sworn that @khajvah was in the US currently, I forgot to ask which government they were referring to
 
@Mgetz Please, don't complain about your economical situation, if you are in USA. I was earning 8 times as much as I am now when I was working as a shit cook in a small sandwich place in usa
 
@khajvah Er, yes? They are based on the decisions of the parties involved, not the fruit of some system of rules.
 
5:39 PM
@khajvah I was referring to my government, although yes I could use a pay raise
 
Ell
USA has lots of debt
 
@Ell Still, people earn enough, more than enough.
 
@Ell err... sort of
 
It is probably the best place to work
 
Xeo
@khajvah What does earning 8 times as much get you, if everything is 10 times as expensive? (just an example)
 
5:40 PM
basically it owes a lot of money... to itself
 
@khajvah What a blind generalisation.
@khajvah There are plenty of people struggling in the US.
 
@Xeo Not really. Cost of living is expensive there but not that much.
@R.MartinhoFernandes I didn
 
I am impressed.
 
I was a foreigner, without knowing proper English and without having any experience.
 
I call you out on a silly generalisation, and you counter that with your personal anecdote.
 
5:42 PM
@khajvah are you black? do you have an education?
 
HOnestly, if you manage to starve in that country, then you are fucking lazy idiot.
 
Xeo
@khajvah wow.
 
if the answers to those are: NO, and YES you have huge advantage in the US
 
@Mgetz I am a white college studnent
 
5:43 PM
check your privilege
finally appropriate
 
Ell
@khajvah you're going to regret saying that I'm sure :P
 
@khajvah congrats you're on the top of the pyramid
 
What a dickhead.
 
what is going on? Is there somebody in here who is starving in USA?
 
BREAKING NEWS: khajvah is a total wanker
 
5:44 PM
@LightnessRacesinOrbit ikr
 
I thought we'd already discovered that last week
 
@khajvah What the fuck does it matter whether someone from this room is struggling in the USA?
 
when he tried to defend wresting car controls off the driver and randomly putting the vehicle into drive
 
Ell
@LightnessRacesinOrbit he is just suffering from lack of perspective
 
@LightnessRacesinOrbit Why am I a wanker?
 
5:44 PM
No one from this room is struggling in the USA, therefore no one is?
 
Ell
that doesn't make him a total wanker
 
2 mins ago, by khajvah
HOnestly, if you manage to starve in that country, then you are fucking lazy idiot.
 
Xeo
you not a word
 
@R.MartinhoFernandes I told you my experience. I had nothing, much less than citizens have, and managed to at least not starve.
 
Yep, very impressive.
You didn't starve, therefore no one can possibly starve.
 
5:46 PM
@R.MartinhoFernandes I am pretty sure anybody could do whatever I did.
 
@khajvah trust me, the riots in Baltimore aren't because someone cut a poor person's cable off
 
@khajvah See, that's what makes you a total wanker.
 
@R.MartinhoFernandes How come?
I am not talking about people with disabilities.
 
No one is.
 
@khajvah soo all the black people in the US are 'disabled'? lol
 
5:48 PM
All the black people in the US are poor now?
 
Ell
^
 
Xeo
Don't fight fallacies with fallacies.
 
Poverty in the US is so nonexistent, that there's a wikipedia article about it.
 
I had black coworkers who were doing fine
 
Poverty is a state of deprivation, or a lack of the usual or socially acceptable amount of money or material possessions. The most common measure of poverty in the U.S. is the "poverty threshold" set by the U.S. government. This measure recognizes poverty as a lack of those goods and services commonly taken for granted by members of mainstream society. The official threshold is adjusted for inflation using the consumer price index. The government's definition of poverty is based on total income received and does not include non-cash supplements such as food stamps or public housing. For example...
 
5:48 PM
@Xeo lol
 
@LightnessRacesinOrbit no, but the vast majority have distinct economic and social disadvantages that hinder upward mobility
 
@R.MartinhoFernandes There is a Wikipedia article about various Gods. That's a pretty weak argument.
 
@khajvah Oh, I suppose that means that everyone else was doing fine too. Of course.
 
Xeo
@R.MartinhoFernandes US Poverty is so non-existent, theoretical physicists are pondering it.
 
@R.MartinhoFernandes Tell me, why would a black person NOT have a chance to not do fine?
 
5:50 PM
Ready for it?
4 hours ago, by Lightness Races in Orbit
that country is fucking obsessed with race, even (especially?) while they're claiming not to be
 
@khajvah For the same reason a white person wouldn't.
 
@LightnessRacesinOrbit eeeyup
 
@LightnessRacesinOrbit Ok then. I apologize to anybody who didn't have chance to not struggle just because of color or race. Maybe I misinterpreted my thoughts.
 
It's not just colour or race.
You seem to have a strange view of how the world doesn't work.
As if it's all equal, economically, for everyone.
 
We were talking about economic situation, like how the country's economy lets people live
I think, USA's economy is doing great in that.
 
5:54 PM
> In November 2012 the U.S. Census Bureau said more than 16% of the population lived in poverty, including almost 20% of American children
 
Well, you're wrong.
 
@khajvah appears to be, but actual metrics show that it's getting dramatically worse year over year. The income gap is growing fantastically, and average wages have not increased with the cost of goods.
 
doesn't seem like the description of heaven
sure, if you compare that to places where everyone lives in poverty, it can look like heaven. But it's certainly not true that you're a lazy idiot if you're not well off in the US
 
All I am saying is, even if you have no education or anything, you will not starve, if you are not discriminated for some fucked up reason.
 
so if you're white, christian and broke you're good, nice
 
Xeo
5:56 PM
@khajvah And you'd be wrong.
 
@khajvah That's a very big "if", but even without it, no that's not necessarily true
 
Xeo
But since all of this stems from your inability to see and comprehend that, I don't think continuing this makes much sense, unfortunately. :(
 
This myth that the USA is some sort of new-age all-prosperous paradise is just that: a myth. A lot of it stems from the patriotic propaganda spread by the government and some of its citizens.
3
 
<-- US Citizen confirms above statement
 
Also avoiding generalizations, especially those aimed at calling people "idiots", tends to lay a better ground for constructive conversation
 

« first day (1663 days earlier)      last day (3285 days later) »