File: nested_iterating.hpp

package info (click to toggle)
mstch 1.0.2-4
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 940 kB
  • sloc: cpp: 1,429; makefile: 4
file content (8 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
const auto nested_iterating_data = mstch::map{
  {"inner", mstch::array{mstch::map{
    {"foo", std::string{"foo"}},
    {"inner", mstch::array{mstch::map{
      {"bar", std::string{"bar"}}
    }}}
  }}}
};