File: nesting.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 (7 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
const auto nesting_data = mstch::map{
  {"foo", mstch::array{
    mstch::map{{"a", mstch::map{{"b", 1}}}},
    mstch::map{{"a", mstch::map{{"b", 2}}}},
    mstch::map{{"a", mstch::map{{"b", 3}}}}
  }}
};