mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
workaround for no c++11 numeric_limits
This commit is contained in:
parent
ce16e24637
commit
7a1974742a
110 changed files with 727 additions and 436 deletions
|
@ -3,9 +3,9 @@
|
|||
|
||||
#include <cstddef>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/limits.hpp>
|
||||
#include <sprout/utility/move.hpp>
|
||||
#include <sprout/utility/swap.hpp>
|
||||
#include <sprout/utility/value_holder/value_holder.hpp>
|
||||
|
@ -361,7 +361,7 @@ namespace sprout {
|
|||
return !!fst.next;
|
||||
}
|
||||
SPROUT_CONSTEXPR size_type max_size() const SPROUT_NOEXCEPT {
|
||||
return std::numeric_limits<size_type>::max();
|
||||
return sprout::numeric_limits<size_type>::max();
|
||||
}
|
||||
// element access:
|
||||
SPROUT_CXX14_CONSTEXPR reference front() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue