File: reuse_of_enumerables.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 (6 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
const auto reuse_of_enumerables_data = mstch::map{
  {"terms", mstch::array{
    mstch::map{{"name", std::string{"t1"}}, {"index", 0}},
    mstch::map{{"name", std::string{"t2"}}, {"index", 1}}
  }}
};