If the entire object is owned by the local scope, the type of the object is known at compile-time regardless of whether it's polymorphic. So the compiler has enough information to skip the vtable indirection. But I can't guarantee that all compilers are able to do that.
Barring shit like conditional placement new onto some local buffer.
@sehe Hehe, yeah. But if we were cops we would have a training to control ourselves. What I mean is that the officers above the ordinary cops are not doing their job to send units there.
If the compiler knows the type, it doesn't need the vtable. It can just call the function directly. But last time I checked compilers are less than competent at devirtualization.
The compiler knows the type if it was constructed in the same scope, but not if the object is passed in by pointer or reference. (unless it does global flow control analysis or something)
@wilx HOWEVER. There's no local solution than gradual escalation of violence. And that will just infuse the refugees with rage - and with some rights - so they'll start minor aggressions, a little arson here and there. That'll just mean the riot police will have to bring in the rubber bullets, but the people have nowhere to go. Out of options, they'll start actually killing, and then it's the end of the line: the police and army should be involved and refugees get killed on a daily basis.
Soon it's a full blown diplomatic crisis. Turkey gets involved. Putin gets involved. Assad grins and says "who's the bad guy now".
@sehe Minor aggression is what I see in the video. However, I agree that escalating too much might end up in a way you describe. But OTOH, if rules are not enforced equally for everyone, what are they good for?
@sehe If this is how the illegals/migrants want to behave, they should be locked up in a detention/segregation until their matter is dealt with by the bureaucracy.
The camp is that. Poor man's prison. But there's not enough facilities to handle it securely. And if they skimp on the facilities /but/ detain people there will be the diplomatic crisis on the horizon again.
@sehe Dunno. The problem is obviously, to me anyway, that so many people where let in without a good reason. I want to travel freely between EU countries even though I do that rarely. But I am not sure if it is worth it when I see a video like that. Seeing the video, I can why Brexiters voted for exit when somebody told them they would be better able control their borders (whether that is true or not is beside the point).
Then it was, apparently, dealt with so swiftly that it never reached my browser. That, or it might be they actually put something in place to display flags only to a quorum of 10k+ users to reduce nuisance!
No, really. It's an addition to Unreal's build tool. You pass in what kinda map you're parsing (specifying key and value names). If somebody fucks up there and puts wrong stuff in, eh, their problem. They're also pretty much limited to what C++ allows as variable names.
I'd personally reverse the logic there. I "still don't get" the problem adding mode modifiers. vOv If .NET didn't support them, that would be a different story.
@Xeo I linked you to the source of my docs. That's ~10 ~20 minutes ago. I'll admit I didn't actually test it.
Because I'm a poor boy and can't afford to install no .NET :)
Modifier spans are supported by all regex flavors that allow you to use mode modifiers in the middle of the regular expression, and by those flavors only. These include the JGsoft engine, .NET, Java, Perl and PCRE, PHP, Delphi, and R.
It's ok :) I believe you already told me that. I was basically just vamping on "it doesn't hurt to be safe". But I won't quote my earlier quote again...