Sprout/sprout/none.hpp

18 lines
302 B
C++
Raw Normal View History

2012-10-22 14:10:11 +00:00
#ifndef SPROUT_NONE_HPP
#define SPROUT_NONE_HPP
#include <sprout/config.hpp>
namespace sprout {
//
// none_t
// none
//
struct none_t {};
namespace {
2012-12-17 14:10:23 +00:00
SPROUT_STATIC_CONSTEXPR none_t none = {};
2012-10-22 14:10:11 +00:00
} // anonymous-namespace
} // namespace sprout
#endif // #ifndef SPROUT_NONE_HPP