Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion include/ctre/first.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,9 @@ template <size_t Capacity> class point_set {
insert(A,B);
}
constexpr void populate(can_be_anything) {
insert(std::numeric_limits<int64_t>::min(), std::numeric_limits<int64_t>::max());
points[0].low = std::numeric_limits<int64_t>::min();
points[0].high = std::numeric_limits<int64_t>::max();
used = 1;
}
template <typename... Content> constexpr void populate(ctre::negative_set<Content...> nset) {
negative_helper(nset, [&](int64_t low, int64_t high){
Expand Down
4 changes: 3 additions & 1 deletion single-header/ctre-unicode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3933,7 +3933,9 @@ template <size_t Capacity> class point_set {
insert(A,B);
}
constexpr void populate(can_be_anything) {
insert(std::numeric_limits<int64_t>::min(), std::numeric_limits<int64_t>::max());
points[0].low = std::numeric_limits<int64_t>::min();
points[0].high = std::numeric_limits<int64_t>::max();
used = 1;
}
template <typename... Content> constexpr void populate(ctre::negative_set<Content...> nset) {
negative_helper(nset, [&](int64_t low, int64_t high){
Expand Down
4 changes: 3 additions & 1 deletion single-header/ctre.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3930,7 +3930,9 @@ template <size_t Capacity> class point_set {
insert(A,B);
}
constexpr void populate(can_be_anything) {
insert(std::numeric_limits<int64_t>::min(), std::numeric_limits<int64_t>::max());
points[0].low = std::numeric_limits<int64_t>::min();
points[0].high = std::numeric_limits<int64_t>::max();
used = 1;
}
template <typename... Content> constexpr void populate(ctre::negative_set<Content...> nset) {
negative_helper(nset, [&](int64_t low, int64_t high){
Expand Down