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++,
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.
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.