1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Sprout/sprout/string/npos.hpp

17 lines
316 B
C++
Raw Normal View History

2012-10-08 14:49:05 +00:00
#ifndef SPROUT_STRING_NPOS_HPP
#define SPROUT_STRING_NPOS_HPP
#include <cstddef>
#include <sprout/config.hpp>
namespace sprout {
//
// npos
//
namespace {
SPROUT_STATIC_CONSTEXPR std::size_t npos = -1;
} // anonymous-namespace
} // namespace sprout
#endif // #ifndef SPROUT_STRING_NPOS_HPP