1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Sprout/sprout/optional/nullopt.hpp
2013-02-19 10:51:12 +09:00

18 lines
391 B
C++

#ifndef SPROUT_OPTIONAL_NULLOPT_HPP
#define SPROUT_OPTIONAL_NULLOPT_HPP
#include <sprout/config.hpp>
#include <sprout/none.hpp>
namespace sprout {
//
// nullopt_t
// nullopt
//
typedef sprout::none_t nullopt_t;
namespace {
SPROUT_STATIC_CONSTEXPR nullopt_t nullopt{};
} // anonymous-namespace
} // namespace sprout
#endif // #ifndef SPROUT_OPTIONAL_NULLOPT_HPP