File: reuse_of_enumerables.hpp

package info (click to toggle)
mstch 1.0.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 960 kB
  • sloc: cpp: 1,443; sh: 17; 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}}
  }}
};