Update operator_spaceship__const_reference.c++20.cpp
This commit is contained in:
parent
914e634a4c
commit
39ed357e30
@ -1,3 +1,4 @@
|
||||
#if __cplusplus >= 202002L
|
||||
#include <compare>
|
||||
#include <iostream>
|
||||
#include <nlohmann/json.hpp>
|
||||
@ -38,3 +39,4 @@ int main()
|
||||
std::cout << string << " <=> " << number << " := " << to_string(string <=> number) << '\n'; // *NOPAD*
|
||||
std::cout << string << " <=> " << discarded << " := " << to_string(string <=> discarded) << '\n'; // *NOPAD*
|
||||
}
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user