Daniel Marjamäki

Results 389 comments of Daniel Marjamäki

> Please let's take that with a grain of salt. It's the instruction count not a time estimate. some kind of small benchmark that measures actual time would be interesting.

> That just moves the potential mistakes to a different layer. Sorry I feel we talk about different things. I talked about type safety and you about bounds safety. So...

I just don't like this. A istream parameter is better than 2 `const uint8_t*, int size` parameters imo. An istream is also more explicit than a string_view or a span.

> Perhaps a different warning message could be given, then... something like "deletion of this is highly unusual and can lead to problems if not handled correctly"? No. Looking at...

> So there should be a noticeable difference in window behavior when passing a parent. Are those classes ever used as child windows? Spontanously I don't think so. We either...

hmm I am not sure if a unit test would be possible. not if getenv is cached. maybe you want to uncache it it testing somehow. or another alternative is...

I think your code and testing looks good. Adding the NO_COLOR sounds easy technically, I am in favor of adding it also :-). But I am not sure how you...

I am not a fan about using std::size_t for various variables. Maybe we can shut off the MSVC warnings globally instead.