Definition at line 583 of file yaml_decoders.cc.
|
| static bool | decode (const Node &node, namespace_or_regex &rhs) |
| |
◆ decode()
| static bool YAML::convert< namespace_or_regex >::decode |
( |
const Node & |
node, |
|
|
namespace_or_regex & |
rhs |
|
) |
| |
|
inlinestatic |
Definition at line 584 of file yaml_decoders.cc.
585 {
586 using namespace std::string_literals;
587 if (node.IsMap()) {
588 auto pattern = node["r"].as<std::string>();
589 auto rx = std::regex(pattern);
591 }
592 else {
594 }
595
596 return true;
597 }
The documentation for this struct was generated from the following file: