mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add weed parser: char_(f, l)
This commit is contained in:
parent
e6420f2bbd
commit
ab096d442c
5 changed files with 167 additions and 21 deletions
17
sprout/optional/in_place.hpp
Normal file
17
sprout/optional/in_place.hpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue