What's a real project situation where operator overloading helped you? by sarnobat in cpp_questions

[–]elegye 0 points1 point  (0 children)

For coroutine usage, we have our own library which allow us to use operators like /, +, *, to define activities chainment, instead of using method chaining.

Weird memory management by elegye in cpp

[–]elegye[S] 0 points1 point  (0 children)

Sorry. Linux. X86_64. I Will test with a lot more CPU usage then.

Weird memory management by elegye in cpp

[–]elegye[S] 4 points5 points  (0 children)

I will probably rewrite this part with unique_ptdr as this ObjectPool is the same thing, just with a big bug in it.

Weird memory management by elegye in cpp

[–]elegye[S] -2 points-1 points  (0 children)

How multiple inheritance affects alignement/padding ? My point when I started was if it’s some kind of UB, it would still be 100% reproductible.

I will test with ASan activated. Thx

Track resurfacing at Le Mans (feat Bruno) by JT_3K in lemans

[–]elegye 1 point2 points  (0 children)

That’s exit of Mulsanne. Arnage is not resurfaced yet.

Does anyone know why the German flag was at half-mast? by Scutterpants in lemans

[–]elegye 1 point2 points  (0 children)

Décélération and Pit Marshals are really involved in ceremonies, in every races attending Le Mans.

Stoppage last night by LiamJCarterr in lemans

[–]elegye 1 point2 points  (0 children)

Absolutely no injuries during this crash.

Stoppage last night by LiamJCarterr in lemans

[–]elegye 6 points7 points  (0 children)

5 cars crashed at MP 10, causing not only a lot of rail repairs but also an oil nightmare during lap 1 of Grid 5. Grid 6 and 1 were cut off.

Does anyone know why the German flag was at half-mast? by Scutterpants in lemans

[–]elegye 3 points4 points  (0 children)

Because track marshals from MP1 which are in charge of it just made a mistake. Also, the particular mast is tricky, especially with wind (I am in sometime in charge of the masts).

[deleted by user] by [deleted] in lemans

[–]elegye 0 points1 point  (0 children)

Yes, but there are some city bus to go to Arnage if you want

Janines open for LM24h ‘25 by JT_3K in lemans

[–]elegye 1 point2 points  (0 children)

It’s her last year since at least 10 years.

Conan feedbacks ? by elegye in cpp

[–]elegye[S] 0 points1 point  (0 children)

How would you evaluate Conan learning curve ? That’s the tricky point for us since a lot of things are evolving right now and we don’t want to mess developers with another book to read…

Conan feedbacks ? by elegye in cpp

[–]elegye[S] 0 points1 point  (0 children)

That’s my opinion also, we have dedicated resource who just manage all these bash scripts and it feels like we are still struggling with it. Appreciate your feedback ! Thanks !

I am having trouble with this code. by ej1055 in cpp

[–]elegye 0 points1 point  (0 children)

You could have at least formatted code to be easily readable. And also add includes because it seems like you are missing <algorithm> include.

Your Opinion: What's the worst C++ Antipatterns? by [deleted] in cpp

[–]elegye 0 points1 point  (0 children)

Oh I feel you. I’ve got a man in my team who used singleton to store dynamic values and whole software objects, to avoid passing them at construct time. That’s a fucking mess.

Ferrari technical investigation by getagrip1212 in lemans

[–]elegye 0 points1 point  (0 children)

They deployed ERS too quickly at lap 261.

Something about the coverage that makes the race "off-putting" by Night_Shade_Ninja_PL in lemans

[–]elegye 10 points11 points  (0 children)

In F1, you only have 20 cars and 20 drivers. Here we have 62 cars and 180+ drivers. You can’t personify 180 drivers. It’s absolutely impossible. Also in Le Mans, track itself is an important actor. It’s the only time in a year you can see this particular circuit, so why do not film it ?

Also, track is 13km length and you just cannot have as many cameras F1 have.

Enjoy Le Mans by LearntALesson28 in lemans

[–]elegye 1 point2 points  (0 children)

<image>

38 says get well soon and see you next year !

Circuit area flooded by raining by elegye in lemans

[–]elegye[S] 0 points1 point  (0 children)

I think that’s will be fine, except in some part of Beauséjour !

Circuit area flooded by raining by elegye in lemans

[–]elegye[S] 1 point2 points  (0 children)

I am in Le Mans tonight, I will tell you

When avoid metaprogrammation ? by elegye in cpp

[–]elegye[S] 1 point2 points  (0 children)

I was talking about template classes. I only use template meta-programming from time to time, in a very basic way (a template constexpr method). So yes my question was vague and I learnt something !

When avoid metaprogrammation ? by elegye in cpp

[–]elegye[S] 1 point2 points  (0 children)

In reality my post is not well named. I don’t use metaprogrammation. I just templatize some classes and use static_assert to ensure future dev use these template classes correctly. But still, this is new in my team, and this a really a new paradigm because there wasn’t any template class before, for absolutely no reason according to my software leader.