erase old code

This commit is contained in:
bolero-MURAKAMI 2013-06-27 00:38:14 +09:00
parent e0ccfedaaa
commit a786a7ccb1
3 changed files with 5 additions and 9 deletions

View file

@ -2,7 +2,6 @@
#define SPROUT_LIBS_CSTRING_TEST_MEMCHR_CPP #define SPROUT_LIBS_CSTRING_TEST_MEMCHR_CPP
#include <sprout/cstring/memchr.hpp> #include <sprout/cstring/memchr.hpp>
#include <sprout/iterator.hpp>
#include <testspr/tools.hpp> #include <testspr/tools.hpp>
namespace testspr { namespace testspr {
@ -15,7 +14,6 @@ namespace testspr {
{ {
SPROUT_STATIC_CONSTEXPR auto found = sprout::memchr(buf, b, 12); SPROUT_STATIC_CONSTEXPR auto found = sprout::memchr(buf, b, 12);
TESTSPR_BOTH_ASSERT(buf + 8 == found); TESTSPR_BOTH_ASSERT(buf + 8 == found);
// TESTSPR_BOTH_ASSERT(sprout::distance(buf, reinterpret_cast<unsigned char const*>(found)) == 8);
} }
} }
} }

View file

@ -2,13 +2,12 @@
#define SPROUT_CSTRING_MEMCHR_HPP #define SPROUT_CSTRING_MEMCHR_HPP
#include <cstddef> #include <cstddef>
#include <sprout/config.hpp>
#include <sprout/iterator/ptr_index_iterator.hpp>
#include <sprout/algorithm/find.hpp>
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>
#include <sprout/config.hpp>
#include <sprout/type_traits/enabler_if.hpp> #include <sprout/type_traits/enabler_if.hpp>
#include <sprout/iterator/ptr_index_iterator.hpp>
#include <sprout/algorithm/find.hpp>
namespace sprout { namespace sprout {
namespace detail { namespace detail {

View file

@ -2,13 +2,12 @@
#define SPROUT_CSTRING_MEMCMP_HPP #define SPROUT_CSTRING_MEMCMP_HPP
#include <cstddef> #include <cstddef>
#include <type_traits>
#include <sprout/config.hpp> #include <sprout/config.hpp>
#include <sprout/type_traits/enabler_if.hpp>
#include <sprout/iterator/ptr_index_iterator.hpp> #include <sprout/iterator/ptr_index_iterator.hpp>
#include <sprout/algorithm/tristate_lexicographical_compare.hpp> #include <sprout/algorithm/tristate_lexicographical_compare.hpp>
#include <type_traits>
#include <sprout/type_traits/enabler_if.hpp>
namespace sprout { namespace sprout {
// 7.21.4.1 memcmp ŠÖ<C5A0> // 7.21.4.1 memcmp ŠÖ<C5A0>
// //