1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

modify: tuple and hash support(class adapt) implemented in each class headers.

This commit is contained in:
bolero-MURAKAMI 2012-06-22 19:14:21 +09:00
parent 3a2610cb5c
commit ee8c952d05
35 changed files with 1720 additions and 1557 deletions

25
sprout/pit/blank.hpp Normal file
View file

@ -0,0 +1,25 @@
#ifndef SPROUT_PIT_BLANK_HPP
#define SPROUT_PIT_BLANK_HPP
#include <cstddef>
#include <sprout/config.hpp>
#include <sprout/array.hpp>
#include <sprout/pit/pit.hpp>
namespace sprout {
//
// blank
//
struct blank {};
//
// blank_pit
//
template<std::size_t N>
inline SPROUT_CONSTEXPR sprout::pit<sprout::array<sprout::blank, N> >
blank_pit() {
return sprout::pit<sprout::array<sprout::blank, N> >();
}
} // namespace sprout
#endif // #ifndef SPROUT_PIT_BLANK_HPP