File: nesting_same_name.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-- 182 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
const auto nesting_same_name_data = mstch::map{
  {"items", mstch::array{
    mstch::map{
      {"name", std::string{"name"}},
      {"items", mstch::array{1, 2, 3, 4}}
    }
  }}
};