mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
17 lines
358 B
C++
17 lines
358 B
C++
#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
|