Sprout/sprout/optional/in_place.hpp

18 lines
358 B
C++
Raw Normal View History

2013-05-21 10:56:41 +00:00
#ifndef SPROUT_OPTIONAL_IN_PLACE_HPP
#define SPROUT_OPTIONAL_IN_PLACE_HPP
#include <sprout/config.hpp>
namespace sprout {
//
// in_place_t
// in_place
//
struct in_place_t {};
namespace {
SPROUT_STATIC_CONSTEXPR in_place_t in_place{};
} // anonymous-namespace
} // namespace sprout
#endif // #ifndef SPROUT_OPTIONAL_IN_PLACE_HPP