Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Retr0Zero7

Pages: [1]
1
Feature requests / Make the sf::Time friends constexpr
« on: May 16, 2020, 12:37:58 pm »
Hi!

I have been working on a bad little game engine using SFML lately, and to my surprise, I have encountred only one slight issue.

When I try to use modern C++,
constexpr auto interval = sf::milliseconds(5);
it just doesn't work.

It's really a shame that one can't do that. This should take a competent programmer (possibly me if I get convinced to make a PR) less than 30 minutes to fix. Thanks in advance.

Pages: [1]