File: recursion_with_same_names.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-- 279 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
const auto recursion_with_same_names_data = mstch::map{
  {"name", std::string{"name"}},
  {"description", std::string{"desc"}},
  {"terms", mstch::array{
    mstch::map{{"name", std::string{"t1"}}, {"index", 0}},
    mstch::map{{"name", std::string{"t2"}}, {"index", 1}}
  }}
};