SFML/test/System
ZXShady de9286c11f Use explicit conversion operator instead of explicit constructor
I also added a type trait test to check whether the conversion operator is marked explicit.

this change has the advantage of being  clearer imo as it is a conversion operator for conersions not a constructor.

and also it allows users to take the address of convesion operator which I don't know if someone might find that useful.
2024-10-02 00:15:54 +02:00
..
Angle.test.cpp Pass sf::Vector2<T>s by value 2024-07-19 10:33:00 -06:00
Clock.test.cpp Make sf::Clock pausable 2023-06-02 11:32:04 -06:00
Config.test.cpp Switch to Catch2 2023-05-13 12:38:11 -06:00
Err.test.cpp Switch to Catch2 2023-05-13 12:38:11 -06:00
Exception.test.cpp Throw custom sf::Exception type 2024-08-25 12:17:49 -06:00
FileInputStream.test.cpp Replace factory functions with throwing constructors 2024-08-08 09:19:32 -06:00
MemoryInputStream.test.cpp Replace factory functions with throwing constructors 2024-08-08 09:19:32 -06:00
Sleep.test.cpp Switch to Catch2 2023-05-13 12:38:11 -06:00
String.test.cpp Disallow constructing sf::String from std::nullptr_t 2024-08-30 09:55:55 -06:00
Time.test.cpp Pass sf::Vector2<T>s by value 2024-07-19 10:33:00 -06:00
Vector2.test.cpp Use explicit conversion operator instead of explicit constructor 2024-10-02 00:15:54 +02:00
Vector3.test.cpp Use explicit conversion operator instead of explicit constructor 2024-10-02 00:15:54 +02:00