Created
June 5, 2020 10:03
-
-
Save gonidelis/2c0cda6e01df028ad25c530732c37236 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <hpx/iterator_support/traits/is_sentinel_for.hpp> | |
#include <hpx/testing.hpp> | |
#include "iter_sent.hpp" | |
void is_sentinel_for() | |
{ | |
HPX_TEST_MSG((hpx::traits::is_sentinel_for<Iterator<std::int64_t>{0}, Sentinel<int64_t>{100}>::value == true), "sent for iter"); | |
} | |
/////////////////////////////////////////////////////////////////////////////// | |
int main(int argc, char* argv[]) | |
{ | |
{ | |
is_sentinel_for(); | |
} | |
return hpx::util::report_errors(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment